Bookmark and Share

Author Topic: Cleanmem and the page cache  (Read 1885 times)

0 Members and 1 Guest are viewing this topic.

Offline TheAnonymous

  • PcWinTech Jr. Member
  • Join Date: Sep 2009
  • Posts: 2
  • Karma: +1/-0
Cleanmem and the page cache
« on: November 26, 2009, 03:40:00 PM »
Everytime I run CleanMem, the memory emptied from running processes is put into the page cache. You can monitor the page cache usage on Windows Vista or Win7 through Task Manager. Navigate to the Performance tab, then look under Physical Memory section, then look at the number beside "Cached". Run CleanMem and you will see the cache increase, unless it is already full.

CleanMem indeed does free up memory space for programs. So, note, unless the page cache is full, the memory you cleared is still there, but not using up memory space allocated for programs. If the data in memory needs to be accessed by the program for some reason, it's still in memory and doesn't have to be re-read from the disk. I think this point should be made on the front page, to further reduce rumors about this app.

If using Vista, you may want to temporarily disable Superfetch to monitor what I am talking about. Superfetch is less agressive in Windows 7, but Vista will fill up the page cache on any chance it gets (a good thing I might add) but will make it harder to observe the above.
« Last Edit: November 26, 2009, 03:50:29 PM by TheAnonymous »

Offline Shane

  • Top Geek, err uh Dog.
  • PcWinTech Administrator
  • PcWinTech Guru
  • *******
  • Join Date: Jul 2008
  • Posts: 9,795
  • Location: USA
  • Karma: +327/-0
  • "Knowledge should be shared not hidden."
Re: Cleanmem and the page cache
« Reply #1 on: November 26, 2009, 03:43:31 PM »
 :artist: Your right I just checked it and the memory cache grows just like it should.

Thanks for pointing this out, I just hope people don't confuse it with the page file and take it as something bad lol

Shane
(About Shane)
Site Owner, Top Admin, Lead Programmer, Wife & 4 kids, Needs a lot more coffee.

When people ask "Why fix what isn't broken?" I reply "To make it better."
"Only a life lived for others is a life worthwhile"
Honor & Respect is all that matters.

Owner & Programmer of: www.pcwintech.com & www.tweaking.com


Offline Kissol

  • PcWinTech Jr. Member
  • Join Date: Aug 2009
  • Posts: 3
  • Karma: +0/-0
Re: Cleanmem and the page cache
« Reply #2 on: December 05, 2009, 09:11:47 AM »
To do this test I need to disable the clear file cache feature (adding file cache to the ignore list).

Because the system working set (System Cache) includes the file cache.

@ TheAnonymous, thanks a lot for share this info with us!  :wink:



Offline TheAnonymous

  • PcWinTech Jr. Member
  • Join Date: Sep 2009
  • Posts: 2
  • Karma: +1/-0
Re: Cleanmem and the page cache
« Reply #3 on: January 01, 2010, 05:24:28 PM »
To do this test I need to disable the clear file cache feature (adding file cache to the ignore list).

Because the system working set (System Cache) includes the file cache.

@ TheAnonymous, thanks a lot for share this info with us!  :wink:
No you do not. The file cache is seperate from the page cache, using the file cache clearing feature will not clear any of the page cache, infact the data from the file cache is likely to be stored into the page cache as demonstrated above.  :smiley:

Offline Kissol

  • PcWinTech Jr. Member
  • Join Date: Aug 2009
  • Posts: 3
  • Karma: +0/-0
Re: Cleanmem and the page cache
« Reply #4 on: January 04, 2010, 10:49:08 AM »
It seems that there is some salutary confusion here...  :artist:

I agree when you said: "the data from the file cache is likely to be stored into the page cache". It's why I don't understand when you say the opposite before: "file cache is seperate from the page cache". :undecided:

I tested in this way:

- When I clear file cache with "Cacheset.exe", Sysinternals, the cache decrease. So I can't say "using the file cache clearing feature will not clear any of the page cache".

- When using CleanMem there are two effects:
1. the cache increase because "the memory emptied from running processes is put into the page cache."
2. the cache decrease because of CleanMem' "file cache clearing feature" - like using "Cacheset.exe".

Like the cache decrease (2.) could to quash cache increase (1.), I avoid that when disable the clear file cache feature, to appreciate your useful demonstration.

 :smiley:


 

Related Topics

  Subject / Started by Replies Last post
21 Replies
5470 Views
Last post July 16, 2009, 08:20:13 AM
by Evan
8 Replies
2517 Views
Last post July 08, 2010, 09:06:21 AM
by Shane
17 Replies
4380 Views
Last post October 18, 2010, 07:50:04 PM
by Shane
4 Replies
479 Views
Last post September 05, 2011, 10:12:30 AM
by peereli
1 Replies
248 Views
Last post September 25, 2011, 02:00:45 PM
by Shane