On 5 Jan 2012, at 10:22 AM, Tino Rachui wrote:

> I see both of the above mentioned ViewControllers leaking memory when 
> instrumenting on an iOS 5 device. When seeing memory leaks in Apples 
> frameworks my natural reaction is to think its something wrong with my code 
> especially as I've just switch to ARC.
> However I'm a bit puzzled in this case. I tried Apples sample code 
> MailCompose and Tweeting  (also compiled with ARC) and I see the exact same 
> leaks. 
> Has anybody else experienced this problem and maybe knows a solution?

Read 
<http://www.friday.com/bbum/2010/10/17/when-is-a-leak-not-a-leak-using-heapshot-analysis-to-find-undesirable-memory-growth/>,
 and see if you can do something like showing and closing the controllers 
repeatedly, taking a heapshot after each close. If the heapshot analysis shows 
no growth, you've discovered a false positive in the Leaks instrument.

        — F

_______________________________________________

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

Reply via email to