Mailing Lists: Apple Mailing Lists

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

Checking for memory leaks with Instruments



Hi guys, I'm new to Objective-C and didn't have so much experience, in
general, with manual managed memory. Despite I'm using Objective-C 2.0
I'm keen on not using the autorelease garbage collector. I'm try to
understand if my application has memory leaks using Instruments. To
check the total ram used I'm checking in Memory Monitor the Real
Memory assigned to the process. Unfortunately this increases and makes
me think that there is a memory leak. On th e Leaks Instrument though,
no leak is shown. I can't really find why the ram continues to
increase, and my app is really simple. I tested then a sample app from
apple and this a part having an increase memory usage, like mine, also
shown some memory leaks in the related instrument. What am I missing?
I there a recommended tutorial to interpret the data from Instruments?
I followed this tutorial as well but no leak was found on my app.

http://www.cimgf.com/2008/04/02/cocoa-tutorial-fixing-memory-leaks-with-instruments/


Best, chr
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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/email@hidden

This email sent to 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.