2

The Task Manager and the Resource Monitor say that the memory is 95% used, but the sum of the memory used by the listed processes don't sum up to 20%. Where this 75% of usage is coming from? How to free it?

Edit: It was probably a memory leak, solved with a reboot. Is this the only solution to a memory leak?

Jader Dias
  • 4,705
  • 19
  • 50
  • 51

5 Answers5

4

Is this disk cache? The operating system knows how to handle memory, and it usually does it good.

elcuco
  • 357
  • 1
  • 4
  • 10
  • I am only talking about RAM in this thread, not about virtual memory. What do you mean by disk cache? That the OS is using 75% of the RAM to cache disk? – Jader Dias Jan 13 '10 at 18:49
  • The OS will do a fair bit of caching in RAM. Unless you are having problems with slowdowns or out of memory errors, just let the OS do its job. – phoebus Jan 13 '10 at 21:18
  • Disk cache is not visible as "used" in "Resource Monitor" it has its own counter, Regular Task Manager shows it as free. What you're describing is Linux behaviour. – Hubert Kario Nov 27 '12 at 11:30
1

This may be a memory leak from an application. What happens after a reboot? A slow return to 95%?

Dave M
  • 4,514
  • 22
  • 31
  • 30
  • The reboot corrected the problem, is this the only solution? – Jader Dias Jan 13 '10 at 18:53
  • It depends on the app. As you have noted, you cannot easily see what has used the memory. There are ways to monotor and a quick Google search should find some. Perhaps start here http://help.lockergnome.com/windows2/identify-runaway-process-memory-leak--ftopict488782.html – Dave M Jan 13 '10 at 19:04
1

Install process explorer (from the MS site) and look at the file cache working set.

If nothing else is using memory, Windows will use it for caching. Because it's unused.

If you're worrying about performance, look at the page hits as a much better indicator of memory overcommit.

Ben
  • 21
  • 2
1

Windows 2008 has different memory handling than other Windows systems, if an application sets FILE_FLAG_RANDOM_ACCESS then whole file will be kept in RAM, sometimes at expense of other applications.

You can verify that using RamMap, from Sysinternals. Look for "Mapped File" in "Active" state. You should be able to free it using "Empty→Empty System Working Set" option in menu.

Hubert Kario
  • 6,361
  • 6
  • 36
  • 65
0

step 1: check unwanted running process in your server(Example:any server do not need to printing so stop spoolsv.exe service and also set manually start service option u can get addition 8.5 MB free )

Step2: Restart your server