Re: Blocking loops
Re: Blocking loops
- Subject: Re: Blocking loops
- From: "Shawn Erickson" <email@hidden>
- Date: Fri, 16 Jun 2006 12:53:31 -0700
On 6/16/06, Drarok Ithaqua <email@hidden> wrote:
Ah, excellent!
Just one problem I came across, all the autoreleased objects inside
my loop built up and up and up and used over 1.2GB of RAM (looking at
top in Terminal).
I added another autorelease pool inside the loop - I don't know how
this is, performance wise, but it stopped my machine thrashing the
virtual memory, at least.
Is this the correct way to use AR pools?
Yes it can be. In my example code I did outline the recreation of
auto-release pool in the while loop.
-Shawn
_______________________________________________
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