?
Solved

Windows Server 2008 R2 consuming all available RAM for CACHE

Posted on 2013-01-06
5
Medium Priority
?
4,497 Views
Last Modified: 2013-01-07
I am running a windows server 2008 R2 standard as a host for 6 virtual machines. The server has 2 x quad core XEONS and 32GB of Ram.

After I restart the host, I can boot all the virtual machines boot and consume the expected amount of RAM and for a few hours cache RAM remains low when viewed from TASK Manager. If I log in 6 to 10 hours after the host is restarted and all VM's are running, the HOST has consumed all remaining RAM (as much as 12GB) into CACHE and leaving ZERO FREE memory.

At first I thought this might be a Backup Program I was running, so I uninstalled it, and other than the base services for the HOST, I have no other applications running on the HOST. I have no idea why the server is consuming ram and I'm not sure if this is or can be affecting the performance of the VM's. Any thoughts on how to manage the CACHE memory or even how to clear it would be appreciated.
0
Comment
Question by:Robert Advancedidea
  • 3
  • 2
5 Comments
 

Author Comment

by:Robert Advancedidea
ID: 38749567
Update, I installed Microsoft Security Essentials a ran a virus scan to see if it was a bug, the scan came back clean. Attached is an image of the results of RAMMAP: the memory being consumed is in MAPPED FILE

RAMMAP File Upload
0
 
LVL 9

Expert Comment

by:gt2847c
ID: 38749569
Cache memory is not necessarily/technically consumed memory.  It can be allocated to processes requesting memory.  If you want to see how much memory is actually available to processes, start the resource monitor (Start->Programs->Accessories->System Tools->Resource Monitor or also available as a button on the Performance tab of the Task Manager) and select the Memory tab.  At the bottom of the Memory Tab, you'll see a graph of total memory.  

Hardware Reserved - video memory, BIOS, HW resources, etc
In Use - claimed by OS or processes
Modified - memory that has data that would have to be flushed to disk before released for swapping
Standby - memory released but still linked to processes, can be reallocated to processes
Free - not yet allocated memory


The "Available" entry at the bottom of the graph is essentially what the OS can provide to requesting processes.

Here's an article that provides a lot more details
0
 

Author Comment

by:Robert Advancedidea
ID: 38749576
Update: I have removed 12 GB of RAM since that was the lat thing I did before I noticed this problem. I am now running 24GB ram
0
 

Author Comment

by:Robert Advancedidea
ID: 38749591
Thanks gt2847c:
Attached is a copy of the resource monitor stats: Based on what you are saying, the "10891 MB Available" which includes 777MB of FREE ram is actually available for other processes and services, so then I should not be concerned about performance issues like Network connections or disk writes. I will read the article.

 

Thank you.
ResourceMonitor.jpg
0
 
LVL 9

Accepted Solution

by:
gt2847c earned 2000 total points
ID: 38749620
The performance on the VMs can be affected by many things.  Watching the resource monitor will help you identify things that may be impacting performance like disk access and such.  If you notice performance dropping on the VMs, bring up the resource monitor on the host and see if you see limiting events...  Things to watch for are:

Memory tab - Hard Faults/sec and Commit Charge.  These will go high when you run into memory contention (need more RAM on the system)

Disk tab - Queue Length.  This is how many things are waiting disk IO.  If this number gets high, your system is IO constrained on storage.  If this is a production system with performance requirements, you may have to rearrange VMs, storage setup and such to lower the queue length.  Adding another storage array, moving VM images to other disks, etc. can help lower IO contention and improve performance.

Network - Interface utilization.  You need to make sure you're not over-committing your network interface for your VMs.  Too much contention here will cause performance issues.  If you have high utilization on a given NIC, consider adding another NIC and rearranging your VMs to spread the load around.

VM systems generally require tuning to make sure you're providing good performance.  Keeping an eye on the trending of the various subsystems on your host machine can help you prevent getting surprised by performance issues...
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
Introduction There are many ways to achieving a goal - some are wrong, some are right - and some just appear to be right, but are wrong.  Hyper-V Clustering and VMM has taught me all three, and I'm here to share with you how to avoid the pitfalls…
There may be issues when you are trying to access Outlook or send & receive emails or due to Outlook crash which leads to corrupt or damaged PST file. To eliminate the corruption from your PST file, you need to repair the corrupt Outlook PST file. U…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
Suggested Courses

594 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question