I have a Windows 2008 R2 64 bit virtual machine on ESXi 4.1 host. The host reports that the virtual machine is actively using less than 1 GB of memory. But, in Windows it's reporting the machine is using 7 GB of memory, even though the total of the processes listed in task manager is less than 1 GB. The machine is rather unresponsive and I'm concerned this is impacting other applications (server's purpose is to run ASP.NET state server process, which has been having trouble and led me to spot the memory question).

I just noticed High memory usage Windows Server 2008r2 on VMware and will be looking through those documents more, but what is causing this?

vSphere report

windows report

  • 1
    Don't give a virtual machine more memory than you want it to use. the OS assumes that it's "free" to use memory and will use pretty much all you assign it whether it needs it or not. – David Schwartz Aug 16 '12 at 21:23
  • But, what is using it? Within Windows, it is unclear what process is consuming it. Using task manager and process explorer offered no clues. – RyanW Aug 16 '12 at 21:34
  • Check with perfmon. – HopelessN00b Aug 16 '12 at 21:38
  • You have much of the data in front of you. What does this server do? – uSlackr Aug 16 '12 at 21:41
  • It's only responsible for ASP.NET state server, which is using about 120 MB. All other processes are less than 100 MB, and most are quite small. Total (as listed in task manager and process explorer) is nowhere near 7 GB. – RyanW Aug 16 '12 at 21:46

You can run RAMMap in the vm to find out how Windows is using the memory.

If Windows isn't under memory pressure, it doesn't bother to make any memory free, so memory can accumulate that is technically used but not really used. The OS assumes that there is zero cost associated with memory that is used if there's still enough available memory to meet foreseeable demand.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.