On Tue, Oct 13, 2009 at 1:40 PM, Nick Rogers <roger...@mac.com> wrote:
> Here is some Object Alloc instrument data after the first tree is formed > (1), after releasing that tree (2) and after again making a tree (3): > Category Live Bytes #Living #Transitory > Overall Bytes #Overall > 1. HDIR 1.73 MB 10333 10428 > 3.48 MB 20761 > For this sample period Instruments saw a total of 20761 unique instances of the HDIR class created (#Overall). At the end of the sample period of those 20761 instances that got created 10333 are still in existence (#Living) while 10428 no longer exist (#Transitory). The 10333 still "living" instances are continuing to consume 1.73 MB out of a total of 3.48 MB worth of memory consumed by all instances seen (not all still living) during the sample period. > 2. HDIR 0 0 > 20761 3.48 MB 20761 > At this point no instance of the HDIR class exist and no more got created since (1). > 3. HDIR 1.73 MB 10333 31189 > 6.97 MB 41522 > At this point an additional 20761 instances of the HDR class got created for a grand total of 41522 being created since you started sampling. Of the 20761 additional instances only 10333 continue to exist, etc. I see no evidence of a leak here given that the "live" count and bytes goes to zero in (2) which you say is related to when you release the tree. -Shawn _______________________________________________ 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 arch...@mail-archive.com