Unreasonable RAM usage in Windows 7

If you want the OS not to use your RAM, take it out of your machine and sit it on your desk. But so long as the RAM is in the machine, using it is free. If you're thinking "I want the RAM free now so I can use it later", you're being silly. You can use it now and use it later. There is no disadvantage to using the RAM. None at all.

Modern operating systems only make RAM free if they have no choice. This is because there are only two things that can happen. If the RAM is used soon, then they just have to make the RAM used again, wasting the effort they went through to make the RAM free -- it is easier to move RAM directly from one use to another. And if the RAM is not used soon, then the effort of making it free is again wasted. Making RAM free is a last resort used only if the OS has no other choice because it adds an extra step the OS will have to go through in order to use the RAM.

Free RAM is only needed for the rare cases where RAM is needed and the operating system cannot transition RAM from one use to another (for example, in interrupt context). Only a very small amount of RAM is needed for this purpose, typically 64MB or so on modern computers. Any more free RAM than that is just waste.

Consider if a program runs and then stops. The program is in RAM. The operating system could make the RAM free or it could keep the program in RAM. If the program runs again soon, keeping it in RAM is a huge win -- disk I/O is avoided. And there is zero cost to keeping the program in RAM if the RAM isn't needed for some other purpose. So the OS keeps the program in RAM until that RAM is needed for something else. Making the RAM free when free RAM isn't needed is a pure losing proposition.


Windows 7 tries to take advantage of all your RAM. If no program is using it, it'll store as much information from your HD as possible, so that when a program requests some information, it'll be available in RAM (that is much faster then your disk).

This feature is called Superfetch and you can read information about it in that link, or also googling around. And if you want to know how it impacts (improves) performance, take a look at Tom's Hardware site.

If a program requires more memory, Windows will provide the necessary RAM to your program, so it isn't a thing you should worry about.


Likely what you are observing are the disk caching features of Windows 7, they actually optimize the RAM usage, even though it appears as though the opposite is happening.

The Linux kernel also has this type of feature.