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 > macOS > Any Way to Flush the Memory?

Any Way to Flush the Memory?
Thread Tools
el lindo
Dedicated MacNNer
Join Date: Apr 2002
Location: St. Paul, MN
Status: Offline
Reply With Quote
Feb 3, 2003, 11:38 PM
 
As my computer stays on, my memory is slowly slipping away. I have 1152 MB and after about ten hours of doing nothing but downloading files 800 MB are taken up, and the system is much slower. Is there anything in terminal I can do to reset the memory without restarting?
     
CheesePuff
Professional Poster
Join Date: Jan 2002
Location: Rochester, NY
Status: Offline
Reply With Quote
Feb 4, 2003, 12:15 AM
 
sudo periodic weekly
     
chabig
Addicted to MacNN
Join Date: Jun 1999
Location: Las Vegas, NV, USA
Status: Offline
Reply With Quote
Feb 4, 2003, 12:46 AM
 
This is not OS 9. There is no need to do anything about your memory. The system manages it automatically, and puts it to its best use.

If your system is slower, it is not because memory is being used. It's slower because the CPU is being used--check your Process Viewer. Perhaps you have some tasks running that you didn't know about.

"sudo periodic weekly" frees up RAM by forcing the virual memory system to page memory to disk, then when its tasks are done, the memory is free. But this free memory is a red herring, because next time you need to contents of the pages that were moved to disk, you have to get the data from the hard drive instead of RAM.

Restarting the computer would be equally as effective for freeing up memory. So would quitting all your running programs. But those answers are just as silly as running "sudo periodic weekly."

Chris
     
Detrius
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status: Offline
Reply With Quote
Feb 4, 2003, 01:02 AM
 
agreed. free memory is wasted memory. A very large purpose of your memory is to act as a disk cache. An empty cache is less effective than a full cache.
ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 11:24 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,