Real-time memory information does not appear in Hyper-V Manager
If the memory columns in the Details pane of Hyper-V Manager are blank for a running virtual machine enabled with Dynamic Memory, check the following:
-
Review the “Requirements” section in this guide to verify that the guest operating system supports Dynamic Memory. Then, verify that the guest operating system has been configured correctly. For example, integration services have been upgraded or the service pack has been applied.
-
If you enabled Dynamic Memory before performing all of the required configuration, restart the virtual machine.
The virtual machine uses too much memory
If a virtual machine with Dynamic Memory enabled appears to use too much memory, or does not release memory when the physical computer does not have enough available memory, you can limit the amount of memory used by the virtual machine by setting a lower value for the Maximum RAM setting.
You may notice that the amount of RAM reported by Task Manager in the guest operating system does not decrease when a virtual machine uses less RAM. This occurs because the driver reports the maximum amount of memory that the guest operating system has used since it was started.
Performance is unsatisfactory
After you enable Dynamic Memory on a virtual machine, if you are not satisfied with the performance, making one or more of the following configuration changes may improve performance.
-
Increase the size of the page file in the guest operating system. A bigger page file allows larger amounts of memory to be added to the running virtual machine if it is needed suddenly. This also improves performance when the availability of physical memory is limited.
-
Increase the memory buffer configured for the virtual machine. When a bigger memory buffer exists, more memory is assigned to the virtual machine compared to the amount of memory required by the applications and services running in the virtual machine. This extra memory can be used for file caching, and might help with improve performance of I/O-intensive applications and services.
-
Increase the Startup RAM for the virtual machine. Some applications assign fixed amounts of memory based on the amount of memory available when the application starts. These applications perform better with higher values for the Startup RAM. Alternatively, if poor performance is the result of too much memory being removed from the virtual machine, increasing the value of the Startup RAM might also fix this problem.
Note |
|---|
|
Increasing the value for Startup RAM reduces the overall flexibility and effectiveness of Dynamic Memory. |
-
Increase the memory weight of the virtual machine. Hyper-V will assign available physical memory to this virtual machine before assign it to virtual machines with a lower memory weight.
The amount of memory does not increase
On a virtual machine with Dynamic Memory enabled, if the amount of memory does not increase, check the following:
-
Compare the Maximum RAM value to the Assigned Memory value to see whether the virtual machine is running at the maximum amount of memory.
-
Check for available space on the physical disk where the virtual machine resides. (The default location is C:\ProgramData\Microsoft\Windows\Hyper-V.) Dynamic Memory increases the size of saved state files as memory is added to the virtual machine.
Available memory is too low in the management operating system
Hyper-V automatically calculates an amount of memory to reserve for exclusive use by the management operating system. This memory is used to run virtualization services. If the computer is part of a failover cluster, Hyper-V also reserves enough memory to run the failover cluster services. However, if the management operating system rums other roles or features, the amount of reserved memory might be too low. You can specify a larger amount of memory by modifying the registry.
Warning |
|
Incorrectly editing the registry may severely damage your system. Before making changes to the registry, you should back up any valued data on the computer. |
-
Click Start, click in the Start Search box, type regedit and press ENTER.
-
If the User Account Control box appears, click Yes.
-
In the navigation tree, expand HK_LOCAL_MACHINE, expand SOFTWARE, expand MICROSOFT, expand WINDOWS NT, and then expand CurrentVersion.
-
Right-click Virtualization, point to New, and click DWORD.
-
Name the new value MemoryReserve.
-
Right-click MemoryReserve and click Modify. Under Value data, set the value to the amount of memory you want to reserve.
The guest operating system does not create a full memory dump file
The page file must be large enough to store the dump file. When Dynamic Memory is enabled, the guest operating system uses the value of the startup memory configured for the virtual machine to determine the size of the page file. To ensure that the page file is large enough to store a full memory dump file, set the size of the page file to the maximum memory configured for the virtual machine.