On May 13, 2009, at 8:30 , Karan, Cem (Civ, ARL/CISD) wrote:

I have an object that I've turned into a singleton via the techniques described at:

http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/CocoaFundamentals/CocoaObjects/CocoaObjects.html#/ /apple_ref/doc/uid/TP40002974-CH4-SW32

This works great, but I've started debugging, and discovered that I seem to be leaking memory (I'm not sure about that; I may be misreading what Instruments is telling me). It appears to be because my singleton object (and anything it holds) looks like a leak to leaks. Is this normal? Should I be worried?

It may be normal, it may not, how could we tell? If you post the code and the data that instrument is showing you, we might be able to give you at least an educated guess.

Marcel


_______________________________________________

Cocoa-dev mailing list ([email protected])

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