Re: ARC Retain Cycles
Re: ARC Retain Cycles
- Subject: Re: ARC Retain Cycles
- From: Jens Alfke <email@hidden>
- Date: Sun, 20 Apr 2014 12:51:23 -0700
On Apr 20, 2014, at 11:58 AM, Cody Garvin <email@hidden> wrote:
> Second, while using instruments use the “mark heap” tool. Get your app up and running. Mark the heap. Then start your image downloads, while that is transpiring, mark the heap again. This will help narrow down the code that could possibly be causing this.
+1. Instruments has some great tools for this. I’m still learning my way around, but last time I was debugging a memory leak, I somehow got Instruments to show a graphical representation of the reference cycle. It literally drew me a f*ing diagram of where my bug was. Very impressive.
(Is there any in-depth book on using Instruments? I’ve never been able to get much out of the Apple docs, they’re way too cursory.)
—Jens
_______________________________________________
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