On Mar 12, 2008, at 11:35 AM, Daniel Child wrote:

Each record is allocated and explicitly released at the end of the loop after adding it to the table. I thought autorelease might wait too long to get rid of it, so I do it explicitly.

As for Instruments, unfortunately I'm doing this on Tiger.


If you're using Tiger, then you'd use ObjectAlloc to keep track of objects created by your app, and MallocDebug to look for leaks. And I hope you have plenty of RAM on hand, since ObjectAlloc will devour it all...

Anyway, you want to look for hills and plateaus in object creation, e.g. lots of objects that get created at once, and then released all at once.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to