Re: Never ending lack of memory
Re: Never ending lack of memory
- Subject: Re: Never ending lack of memory
- From: Dietrich Epp <email@hidden>
- Date: Mon, 10 Mar 2003 13:40:44 -0800
On Monday, Mar 10, 2003, at 03:01 US/Pacific, Stiphane Sudre wrote:
And it would still not deallocate the dirContent array. And if you put
the NSAutoReleasePool outside of the loop, you've improved the
situation but there's still a lot of objets waiting for releasing.
Yes it would.
It would be released by the autorelease pool created by the calling
function, which, since the function is recursive, is the autorelease
pool inside the loop. I wouldn't be too concerned about the one
instance that will have to wait for a return to the run loop to get
released.
_______________________________________________
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.