Windows – Decreasing cached memory and increasing Free memory in RAM

64-bitmemorywindows

enter image description here

I'm using Windows 2008 Server 64 bit, I've uploaded the snap shot of my task manager
when minimum processes running.

It shows

  • Total memory 8190 MB
  • Cached memory 4315 MB
  • Free 3402 MB

So effectively I get only 3402 MB of total RAM usage.

My question here is, as more than half is used for cached memory is there any means by which I can decrease this cached memory and in turn increase my free memory?

I need to do this because my application requires at least 5GB RAM and it crashed when run in this system.

Best Answer

NOT WINDOWS SPECIFIC

I can't speak for Windows directly since you tagged it with the generic operating-system here's the general answer you'd receive from the Linux world:

Cache is a good thing. The more RAM you use (with caches) the better. The OS is usually smart enough to free cache and give it to applications (personally I've never seen a case where that wasn't the case).

That is whenever applications need it, I'm pretty sure that Windows isn't a dumbass, so I'd expect similiar behaviour. In fact I'd bugged about the 3400MB of free RAM:

WTF... I oversized the server so that it doesn't even use the complete RAM as cache?

This would be the first thing that comes to my mind when seeing numbers like these.

Yes, go downvote me for answering with the Linux Point of View :)
Apart from that Windows 2007 Server does not exist do you mean Windows Server 2008?