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: Does cocoa just leak?



On Saturday, September 29, 2001, at 10:19 PM, Rosyna wrote:

This doesn't seem to be 100% reliable. My main problem is with the
other leaks, not the main loop one. Casual leaks. Example, I leave my
one application open for a few hours, (it's doing nothing) and when I
look again, its eating 20megs ram.

Cocoa does not "just leak"; or shouldn't; and we regularly check for leaks in the frameworks. People leave apps like Mail or server processes running for days; any leak could be bad in such a situation.

You should check to see what objects are leaking in your app, and if they seem to be leaking due to bugs in the frameworks, please report a bug. You can use tools such as MallocDebug or ObjectAlloc to see what's leaking...

Ali


References: 
 >Re: Does cocoa just leak? (From: Rosyna <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.