• 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
Getting notified when memory gets tight
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting notified when memory gets tight


  • Subject: Getting notified when memory gets tight
  • From: Graham Cox <email@hidden>
  • Date: Fri, 2 Jul 2010 17:14:54 +1000

On 10.6, NSCache is handy for caching stuff that I can afford to simply drop as needed - it works great.

I'd like to be able to do something a bit like it on 10.5. Is there a notification or other callback I can use to get notified when the system is running low on memory for my app, to give it an opportunity to discard stuff before it starts paging memory out?

--Graham


_______________________________________________

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: Getting notified when memory gets tight
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: Error when closing window with IKImageBrowserView in it
  • Next by Date: Download images and modify bundle?
  • Previous by thread: Re: horizontal radio group
  • Next by thread: Re: Getting notified when memory gets tight
  • Index(es):
    • Date
    • Thread