• 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: newbie question: Can memory leak extend beyond application lifetime?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: newbie question: Can memory leak extend beyond application lifetime?


  • Subject: Re: newbie question: Can memory leak extend beyond application lifetime?
  • From: Andrew Farmer <email@hidden>
  • Date: Sat, 10 Jun 2006 14:18:11 -0700

On 10 Jun 06, at 13:46, Graham wrote:
It appears that my app is using memory that is not restored even after the application closes.
[According to my iStat Pro widget the inactive memory count increases slightly after each time I run my app]

That's probably cached data. Harmless, and it'll be flushed if the memory is actually needed.


Is this possible? If so, is it just caused by unreleased objects or is something else to blame?

Nope. All non-shared memory that your application allocated is *always* released when your application closes. (Enough so that AppKit doesn't even bother releasing everything before terminating the application.)

Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >newbie question: Can memory leak extend beyond application lifetime? (From: Graham <email@hidden>)

  • Prev by Date: newbie question: Can memory leak extend beyond application lifetime?
  • Next by Date: MMICrashReporter - advance preview available
  • Previous by thread: newbie question: Can memory leak extend beyond application lifetime?
  • Next by thread: MMICrashReporter - advance preview available
  • Index(es):
    • Date
    • Thread