Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Flushing VM

Flushing VM
Thread Tools
Forum Regular
Join Date: Jan 2003
Status: Offline
Reply With Quote
Jun 7, 2005, 10:45 AM
 
Is there a quick and easy way to flush the VM cache?
     
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status: Offline
Reply With Quote
Jun 7, 2005, 11:00 AM
 
Other than rebooting, there is no way. There's no point in flushing virtual memory.
     
Mac Elite
Join Date: Jan 2003
Location: 127.0.0.1
Status: Offline
Reply With Quote
Jun 7, 2005, 12:36 PM
 
Originally Posted by delete
Is there a quick and easy way to flush the VM cache?
Why would you want to do that? Nothing like bringing down the system.
     
Mac Elite
Join Date: Jan 2000
Location: Columbus, OH
Status: Offline
Reply With Quote
Jun 7, 2005, 04:44 PM
 
....and put the toilet seat down when you're done!!!!!!!!!!!!!
HyperNova Software, LLC
     
Senior User
Join Date: Mar 2001
Status: Offline
Reply With Quote
Jun 7, 2005, 04:57 PM
 
How about Mac Janitor: http://personalpages.tds.net/~brian_...acjanitor.html

not sure if it does VM cache, but it does the maintenance things you generally need, kicked off manually.
     
Mac Elite
Join Date: Oct 2000
Location: Amboy Navada, Canadia.
Status: Offline
Reply With Quote
Jun 8, 2005, 03:17 AM
 
There is no way to flush the RAM caches/VM that I know of, and I've asked - People will tell you that it's useless, but it's helpful when you're running out of disk space on the boot volume (perhaps a nasty memory leak) or more importantly when a process has eaten all of your RAM and the system's data has all been paged to disk so everything operates extremely slowly until everything eventually gets sorted out (this is easily seen on windows, play a new game then quit it with 512mb of RAM).

There is a myth that Mac Janitor, among other programs, "cleans up" the state of RAM. It does not. It manually runs the cron scripts (cron being a program that runs maintenance scripts in /etc/crontab at certain times. anacron runs them after certain time has elapsed, which is better for a desktop/laptop system that is not on 24/7), the thing that causes this is when certain things are updated (the lookupdb database) it uses a lot of RAM, and when it completes it's task the RAM no longer in use, making it look like the RAM has been "cleaned". If your computer is not on all the time, use anacron or manually use any of the many GUI tools that call on cron every couple months to ensure that your log files get rotated and compressed to save a little disk space.

This insanity brought to you by:
The French CBC, driving antenna users mad since 1937.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:40 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2