Re: Working set bloat in Xcode 2
Re: Working set bloat in Xcode 2
- Subject: Re: Working set bloat in Xcode 2
- From: Tim Lucas <email@hidden>
- Date: Wed, 25 May 2005 16:22:49 +1000
On 25/05/2005, at 1:47 PM, email@hidden wrote:
To bring this back on topic, however, I'd like the pose the query -
has anyone tested their programs to see exactly when autorelease pools
are actually released? I sometimes wonder about Cocoa apps which use
a lot of memory for a task, and then don't seem to release it again
(e.g. Safari) until they're quit. I suspect a more liberal use of
localised autorelease pools would do wonders. But I've never tested
this, since I don't develop programs which are susceptible to such
problems. Anyone out there with a large Cocoa app that can shed some
[empirical] light on this?
It's my understanding that the default autorelease pool is released
each run loop, in which case creating localised autorelease pools are
only good for optimising autoreleases within a single run loop.
- tim lucas
_______________________________________________
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