Re: TWTweetCompose-/MFMailComposeViewController leaking under ARC!?!
Re: TWTweetCompose-/MFMailComposeViewController leaking under ARC!?!
- Subject: Re: TWTweetCompose-/MFMailComposeViewController leaking under ARC!?!
- From: Fritz Anderson <email@hidden>
- Date: Thu, 05 Jan 2012 10:44:58 -0600
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 (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:
This email sent to email@hidden