Re: newbie question: Can memory leak extend beyond application lifetime?
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