Solved

Cached memory query

Posted on 2013-01-19
3
285 Views
Last Modified: 2013-03-24
Running Windows 2008 Server (VM). The guest has been allocated 4GB RAM.

If I go to the Task Manager, I can see the following:

Physical memory (MB)
Total: 4094
Cached: 2456
Free: 74

The memory level picture in Task Manager shows 3.53 GB memory used.

Does this mean the machine is running out of memory? What does the "cached memory" actually do, is it being used or free?

And how does this fit in with page file usage? The page file is on the C: drive and has 5GB.
0
Comment
Question by:neil4933
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 31

Accepted Solution

by:
Frosty555 earned 500 total points
ID: 38797663
For your purposes you can consider the cached memory to be "free".

Here's an example of Task Manager on one of my servers, a domain controller that is very lightly loaded for the amount of horsepower it has:

Task Manager
You can see the server has 12GB of memory. Yet it has 0MB free. In this case, the "Available" memory line item is what is telling the real story - the server has allocated all of the memory on the server but it is only using about 1.92GB of it.

Resource monitor gives a better picture without getting too deep into the specifics:

Resource Monitor
In reality only 1.9GB is actually in use. The rest is cached and in standby, but should basically considered to be free memory.


Regarding your swap file - for your purposes you can consider it to be unrelated to the rest of your memory situation, it is not being used in the calculations you posted in your question. It is just reserve memory in case the server runs out. Old or infrequently used pages of memory are swapped out into that file so that faster RAM can be used for more important things.

If the computer gets sufficiently low on memory that it actually has to start using the pagefile heavily, you'll know about it. The whole server will grind to a halt and you'll have severe performance issues.
0
 

Author Comment

by:neil4933
ID: 38798704
Hi Frosty

Thanks for the great explanation, really appreciate that :-)

So you would say that cached memory is actually "free" memory?

And the Memory/ Available Mbyes in Perfmon, is that a reliable counter to use in Perfmon, i.e. if it falls beneath 5-10% of the total RAM should we be worried, or does other factors like PAging coming into this?
0
 
LVL 31

Expert Comment

by:Frosty555
ID: 39016665
For the purposes of deciding if the server has adequate memory, the Available MBytes is reliable. Paging is an important metric, but it tells you different information.
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…

729 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