• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: a way to clear inactive RAM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: a way to clear inactive RAM
      • From: Fritz Anderson <email@hidden>
References: 
 >a way to clear inactive RAM (From: Nick Rogers <email@hidden>)
 >Re: a way to clear inactive RAM (From: Alex Zavatone <email@hidden>)
 >Re: a way to clear inactive RAM (From: Nick Rogers <email@hidden>)
 >Re: a way to clear inactive RAM (From: Tom Davie <email@hidden>)
 >Re: a way to clear inactive RAM (From: Jean-Daniel Dupas <email@hidden>)
 >Re: a way to clear inactive RAM (From: Alex Zavatone <email@hidden>)

  • Prev by Date: Re: a way to clear inactive RAM
  • Next by Date: Re: a way to clear inactive RAM
  • Previous by thread: Re: a way to clear inactive RAM
  • Next by thread: Re: a way to clear inactive RAM
  • Index(es):
    • Date
    • Thread