• 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
a way to clear inactive RAM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

a way to clear inactive RAM


  • Subject: a way to clear inactive RAM
  • From: Nick Rogers <email@hidden>
  • Date: Tue, 06 Nov 2012 00:24:38 +0530

Hi,

I am assigned this small utility which should clear inactive RAM.
I know Mac OS X manages memory quite efficiently and inactive RAM also has a purpose.
But I have to make this.

Prior to Mountain Lion I was allocating memory in my app that was roughly equivalent to free + inactive RAM.
And it used to work perfectly, i.e. most inactive RAM used to become free.

But in Mountain Lion, aggressive allocations are not affecting RAM at all.

I want this util to also work on systems that don't have Xcode installed.

I saw the post where someone posted notes of purge disassembly. But that isn't leading anywhere. Also purge comes with Xcode only.

There are apps on Mac App Store that do this kind of thing.

How to go about it? Any pointers would be really appreciated.

Wishes,
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

  • Follow-Ups:
    • Re: a way to clear inactive RAM
      • From: Alex Zavatone <email@hidden>
    • Re: a way to clear inactive RAM
      • From: Wim Lewis <email@hidden>
    • Re: a way to clear inactive RAM
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: This board is slow. Was: OS_OBJECT_USE_OBJC_RETAIN_RELEASE and xpc_release()
  • Next by Date: Harnessing Perl Scripts within a Project
  • Previous by thread: Re: Sorting NSTableView using Bindings
  • Next by thread: Re: a way to clear inactive RAM
  • Index(es):
    • Date
    • Thread