• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ARC Retain Cycles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: ARC Retain Cycles
      • From: Roland King <email@hidden>
References: 
 >ARC Retain Cycles (From: Dave <email@hidden>)
 >Re: ARC Retain Cycles (From: Cody Garvin <email@hidden>)

  • Prev by Date: Re: canAsynchronouslyWriteToURL:ofType:forSaveOperation: Prevent Quit?
  • Next by Date: Re: Strange toolbar/view/resize cursor interaction
  • Previous by thread: Re: ARC Retain Cycles
  • Next by thread: Re: ARC Retain Cycles
  • Index(es):
    • Date
    • Thread