On Oct 11, 2008, at 7:58 PM, Sandro Noel wrote:

I'm in the optimizing phase of my little project and I'm trying to understand instruments to get most of the leeks out of my software. but instruments throws tons of leaked blocks for objects that should be auto-released, and objects that are still in use. how do I determine what is a leek and what is not ?


Put a log statement in their dealloc methods to verify that they're actually being deallocated.

        NSLog(@"Dealloc: %@", self);

False positives from Leaks should be rare, but I'm sure that it can happen.

j o a r


_______________________________________________

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