> I'm pretty sure I'm not leaking the memory with an unintended reference, as > the datasets *are* collected (albeit not very quickly) after I run a set of > five operations and the server returns to be waiting for user input. I'm > wondering if it could be because collection will not happen until the end of > a run loop, and by bombarding the server with messages then collection is > never triggered because it never senses the end of the run loop. I gather > that there may be special considerations with runloops and NSConnection.
I would use gdb's "info gc-roots 0xXXXXXXXX" command to determine what strong references exist to the objects that are placed in your array. Instruments may also have some related functionality. _______________________________________________ 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