Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with Memory leak



On 31. Mrz 2004, at 4:10 Uhr, Vince Ackerman wrote:

I'm not assigning the boolean to any of my objects variables, just copying it. Also, I'm not using a NSCFNumber, and I can't find it in the documentation. I can't find any object that has that address, either. Where do I start looking for this leak?

For a start I'd recommend using the command line tool 'leaks' and be sure to set the environment variable MallocHeapLogging to 1.
=> man leaks
ObjectAlloc from the Developer Tools is pretty useful for this, too (if you really don't know where this object might be coming from...)

If you are not using an NSCFNumber (or NSNumber for that matter...), then what are you using?
Could you provide any source? Are you sure you handle the memory management correctly?

And please! Do not use "Reply" to start new threads. It annoys many people...

Regards,

Kay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Distributed Objects pitfalls and strategies (From: John Scalo <email@hidden>)
 >Re: Distributed Objects pitfalls and strategies (From: Aurélien Hugelé <email@hidden>)
 >Re: Distributed Objects pitfalls and strategies (SOLUTION (?)) (From: John Scalo <email@hidden>)
 >Help with Memory leak (From: Vince Ackerman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.