High memory usage Windows Server 2008r2 on VMware

windows-server-2008

We are running Windows Server 2008r2 on VMware and are experiencing extremely high memory use when nothing is running. The server memory usages slowly creeps up to 98-99%. The server is configured to use 8GB of memory. Is there some setting we should be using so the server can better manage it's memory usage. It's behaving as if there is a memory leak.

Best Answer

What version of VMware are you running? Server, ESX 3.5, vSphere, or something else?

Assuming you're running in ESX/vsphere, it sounds like you're just seeing memory ballooning in action.

With ballooning, a driver installed as part of the VMware tools grows in size in memory, forcing other inactive applications to page, consuming under-utilised memory in one server, and thus marking it as free to be allocated to other, busier, servers that need the memory now.

Under normal operation the memory ballooning technique is very effective and has little or no performance impact, which seems to be the case here - you've not actually said it's causing any impact, it just looks odd, right?

There's lots more on the subject in the vSphere Best Practices PDF