• 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: Memory Full or not
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory Full or not


  • Subject: Re: Memory Full or not
  • From: Wade Tregaskis <email@hidden>
  • Date: Sun, 27 Jul 2003 18:45:17 +1000

Is there a way to get a low-memory warning? Like a notification or call-back of some type? Or even a periodic check? I seem to remember a way to do this is Classic, where it would call a function when memory was low. This would let the app clear caches and the like to free up memory.

On some Unix's there is a signal which is sent when memory is low, allowing programs to be nice and free up any space they can. Unfortunately there doesn't seem to be any such thing on Darwin, nor any equivalent system. It probably wouldn't be too much work to add such a signal to Darwin, and I plan to do so myself if no one else does in the next 6 months. But whether or not Apple will accept such a feature is unknown... I haven't submitted anything to Darwin myself, but I've heard from a few people that Apple are pretty conservative in this regards.

Wade Tregaskis
-- Sed quis custodiet ipsos custodes?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Memory Full or not (From: Dustin Voss <email@hidden>)

  • Prev by Date: cocoa version of 'FSpRename' ?
  • Next by Date: How to read IPTC meta data from a file
  • Previous by thread: Re: Memory Full or not
  • Next by thread: Main window, key window, front window... I'm from Carbon, help me!
  • Index(es):
    • Date
    • Thread