Re: a way to clear inactive RAM
Re: a way to clear inactive RAM
- Subject: Re: a way to clear inactive RAM
- From: Alex Zavatone <email@hidden>
- Date: Tue, 06 Nov 2012 08:46:31 -0500
Again, if you want to clear cached memory on disk, issue a shell purge.
All that other memory is being used for something.
On Nov 6, 2012, at 6:01 AM, Nick Rogers wrote:
> Hi,
>
> Thanks for the replies.
> I was trying to achieve what essentially "free memory" apps on the Mac AppStore do.
> The RAM usage can be divided into four parts as shown in Activity Monitor.
> 1. Free
> 2. In-active
> 3. Active
> 4. Wired
>
> When I used my earlier app to allocate memory equal to free + inactive bytes, for the execution of the program it used to make the system less responsive for a few seconds and on release and quitting the app, most of the inactive memory would shift under free.
>
> e.g. if free is 1GB and inactive is 1.5GB, then after run, free would be 2.45GB and inactive just 50MB.
>
> Thanks again,
> Nick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden