Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Clearing inactive RAM
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Discerptor" data-source="post: 1222463" data-attributes="member: 12177"><p>Two free methods, neither requires any 3rd party software.</p><p></p><p><strong>ON SNOW LEOPARD:</strong></p><p></p><p>Open /Applications/Utilities/Terminal</p><p></p><p>Type</p><p>[CODE]purge[/CODE]</p><p></p><p>And hit enter. Voila, your RAM is freed up. Stuff will go slower for the next minute or so while your apps cache the stuff that was cached before you purged the inactive RAM, mind you.</p><p></p><p><strong>ON ANYTHING ELSE:</strong></p><p></p><p>Open Terminal as stated before. This time the command is:</p><p></p><p>[CODE]du -a /*[/CODE]</p><p></p><p>Why does this work when the du command doesn't actually do anything substantive and all I'm really having you do is display disk usage statistics? Because this forces the hard drive to do a crapton of rapid reads, which in turn causes a lot of pages in memory to get swapped and then freed by the memory management scheme in OS X. Or you could just chalk it up to magic if you prefer.</p><p></p><p>All this said, if you aren't noticing slowdown in your computer's performance as a direct result of inactive RAM that is not freeing up (due to a badly written program), you shouldn't bother doing either of these. Your computer's programs using as much RAM for cache as possible is a good thing. It makes them snappier. <strong>DO NOT USE THESE METHODS JUST BECAUSE THE COLOR BLUE IRKS YOU WHEN YOU LOOK AT ACTIVITY MONITOR. MORE BLUE IS NORMALLY A GOOD THING.</strong></p></blockquote><p></p>
[QUOTE="Discerptor, post: 1222463, member: 12177"] Two free methods, neither requires any 3rd party software. [b]ON SNOW LEOPARD:[/b] Open /Applications/Utilities/Terminal Type [CODE]purge[/CODE] And hit enter. Voila, your RAM is freed up. Stuff will go slower for the next minute or so while your apps cache the stuff that was cached before you purged the inactive RAM, mind you. [b]ON ANYTHING ELSE:[/b] Open Terminal as stated before. This time the command is: [CODE]du -a /*[/CODE] Why does this work when the du command doesn't actually do anything substantive and all I'm really having you do is display disk usage statistics? Because this forces the hard drive to do a crapton of rapid reads, which in turn causes a lot of pages in memory to get swapped and then freed by the memory management scheme in OS X. Or you could just chalk it up to magic if you prefer. All this said, if you aren't noticing slowdown in your computer's performance as a direct result of inactive RAM that is not freeing up (due to a badly written program), you shouldn't bother doing either of these. Your computer's programs using as much RAM for cache as possible is a good thing. It makes them snappier. [b]DO NOT USE THESE METHODS JUST BECAUSE THE COLOR BLUE IRKS YOU WHEN YOU LOOK AT ACTIVITY MONITOR. MORE BLUE IS NORMALLY A GOOD THING.[/b] [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Clearing inactive RAM
Top