Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Running purge command in the terminal to free the inactive memory isn't really what I think about Apple.

Lion isn't doing a great at all when it comes to free the inactive memory.
Free memory is reaching 16 MB and applications and the OS are becoming unresponsive, yet OS X isn't reclaiming the inactive memory.

After each session, I put the laptop to sleep. You can say that I shutdown my OS once a month. Unixes after all aren't created to be rebooted.

OS X Snow Leopard was pretty sleek, I don't know but it looks it is a Lion thing (maybe due iOS brought to Lion features).

Any better way to reclaim the inactive memory on Lion?
[EDIT]
I got 4 GB of RAM

share|improve this question
    
What's your system configuration? If, for example, you're running 10.7 with 2GB of RAM, it's likely this behavior is unavoidable. –  zwerdlds Apr 12 '12 at 22:47
    
possible duplicate of Isn't Inactive memory a waste of resources? –  jhfrontz Jul 14 at 21:45
add comment

4 Answers 4

Yes, you can, one command only (run in Terminal):

purge

And recheck inactive RAM

share|improve this answer
1  
That is my first line :p –  Chiron Aug 29 '12 at 19:16
add comment

Probably not much better than what you are doing but I use iboostup occasionally when i wan t to free up some memory. I constantly struggling here with 2gb MBA and i use vmaware fusion for windows machine that just takes the memory from me. It has a couple other nice features too.

http://www.iboostup.com/

share|improve this answer
add comment

There are free apps on the Mac App Store that add a free-memory button to the menu bar for quick memory purging.

Search for "memory" in the MAS and choose what suits your needs.

Hope this is what you are looking for.

share|improve this answer
add comment

The real way I've made progress diagnosing this sort of issue is to use sysdiagnose to profile your system immediately after boot, then again before swap starts to get written and again when you note the slowdown.

Issuing purge is not effective with OS X virtual memory on Lion and muddies the waters to find the real culprit in terms of memory leaks or paging stress.

I've found that server Macs are generally stable for 6 months or more and don't need reboots before an update will force a reboot. Client Macs running software like Office, Adobe and even some of Apple's consumer products (or Pro apps) do not run perpetually like other UNIX and benefit from a reboot once a month or so to clear memory if you have issues with swap that cannot be isolated and ameliorated by sysdiagnose or other changes in usage.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.