• 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:33:06 -0800

On Nov 6, 2012, at 3:01 AM, Nick Rogers <email@hidden> wrote:

> I was trying to achieve what essentially "free memory" apps on the Mac AppStore do.

Those apps are useless, except as revenue generators for their authors.

> 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.

That doesn’t serve any useful purpose (it just slows down the OS), _unless_ you are trying to profile a cold launch of an app at system startup, i.e. see how your app performs when none of its code or data are possibly still cached. And in that case the ‘purge’ command will do the job.

—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


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>)

  • 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