Re: a way to clear inactive RAM
Re: a way to clear inactive RAM
- Subject: Re: a way to clear inactive RAM
- From: Jens Alfke <email@hidden>
- Date: Tue, 06 Nov 2012 09:30:13 -0800
On Nov 6, 2012, at 7:08 AM, Alex Zavatone <email@hidden> wrote:
> Actually, that's not always the case. As I use Safari through out the day, Safari ends up eating 6 to 12 GB of data on my 16 GB system. Frequently, I need to issue a purge to get back a spare GB or few hundred MB
If that actually gets you back memory, it’s just because Safari has marked some of its allocated address space as ‘purgeable’. You would have gotten that space back if it became necessary anyway, without the need to do anything explicit, because the kernel will start tossing out purgeable address space as needed to free up space for new allocations.
The basic principle is, don’t second-guess the kernel, at least not unless you know its architecture really well or have read through Singh’s “Mac OS X Internals” book :) In my experience, Activity Monitor’s pie charts of system memory usage are nice as blinkenlights but nearly useless for any practical purpose of mine.
—Jens
_______________________________________________
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