Mapped File using a LOT of ram (possible memory leak)

Status
Not open for further replies.

Hackmource

Reputable
Jul 12, 2015
20
0
4,510
I opened up RAMMAP only to see "Mapped file" using more than 11 gigs of ram.



aee45de.png




Any idea why "Mapped file" is using sooo much ram?
 
Solution
Read this:
https://blogs.technet.microsoft.com/askperf/2010/08/13/introduction-to-the-new-sysinternals-tool-rammap/

File Summary

The next page of interest is the File Summary tab. The File Summary tab will show you very detailed information about which files are loaded in RAM on your system, including a breakdown of how that memory is being used (Active, Standby, Modified and Modified No-Write). This tab makes it very easy to track down which files are using your RAM.

For example, on this system we have about 7.8GB of RAM being used by Mapped File:
-----------------------------
Although 7.2 GB of this is Standby and therefore just cached, it still represents a large amount of RAM being used. So what are we using/caching...

USAFRet

Titan
Moderator
Read this:
https://blogs.technet.microsoft.com/askperf/2010/08/13/introduction-to-the-new-sysinternals-tool-rammap/

File Summary

The next page of interest is the File Summary tab. The File Summary tab will show you very detailed information about which files are loaded in RAM on your system, including a breakdown of how that memory is being used (Active, Standby, Modified and Modified No-Write). This tab makes it very easy to track down which files are using your RAM.

For example, on this system we have about 7.8GB of RAM being used by Mapped File:
-----------------------------
Although 7.2 GB of this is Standby and therefore just cached, it still represents a large amount of RAM being used. So what are we using/caching?
-----------------------------
Mystery solved. The outlook offline storage file is taking up the most RAM, followed by my local search index and several thousand smaller files. However, it is important to remember that in this case the memory is almost all on the Standby list, so the OS is simply using the “extra” RAM to cache data for faster access.


Also, here:
https://msdn.microsoft.com/en-us/library/aa366556%28VS.85%29.aspx
 
Solution

JamieHanrahan

Commendable
May 30, 2016
1
0
1,510
The RAM on the standby list is not really "used". It is part of "available" RAM. It is just as available for other uses as it would be if the file contents weren't mapped into it.
 
Status
Not open for further replies.