Thursday, October 6, 2016

High Physical Memory Usage Issue


I investigated an issue where a new Hyper-V virtual machine running Windows 7 would consume most of the physical memory after exactly 5 minutes of uptime.  This would occur even if no applications were running.


I tried using the Windows Task Manager "Processes" tab to look at the memory being used but none of the processes listed (mostly services) had anywhere close to the amount of physical memory (8 GB) allocated.

After some initial searching I found this great SysInternals utility called RAMMap:

Running RAMMap utility indicated that most of the memory was "Driver Locked".  Using a Google search, I found this post:

I found that the Windows 7 virtual machine was specified to use "Dynamic Memory".


After shutting down the virtual machine, I unchecked the "Enable Dynamic Memory" option in the Memory Settings for the virtual machine and set the startup memory to my fixed size.  After restarting the virtual machine, I found that the physical memory usage no longer grew after 5 minutes.

No comments:

Post a Comment