• 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: Reference counting events not always tracked in Instruments
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reference counting events not always tracked in Instruments


  • Subject: Re: Reference counting events not always tracked in Instruments
  • From: Ken Thomases <email@hidden>
  • Date: Tue, 16 Nov 2010 22:20:56 -0600

On Nov 16, 2010, at 12:34 PM, David Dunham wrote:

> I'm trying to track down potential heap bloat using the Allocations instrument. I consistently see a couple objects still around after I close their window (and a breakpoint on their -dealloc isn't hit). I'd love to see who is holding a reference, but the history for the specific object is always blank. I can see the stack for its creation, but that's it.

Is it possible the history is correct?  The object is created and then never retained or released after that?  That would be consistent with what you've described.

Are you doing something weird with the threads in your app, specifically their stacks?  Like, are you allocating your own stacks for the threads?  Are you reseating the threads onto a different stack from where they started (which is highly unlikely, except for certain very specific purposes)?  Are you using the ucontext(3) routines to implement "fibers" or coroutines?

Are you overriding -retain, -release, or -autorelease?

Regards,
Ken

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Reference counting events not always tracked in Instruments
      • From: David Dunham <email@hidden>
References: 
 >Reference counting events not always tracked in Instruments (From: David Dunham <email@hidden>)

  • Prev by Date: Re: What's up with the latest Interface Builder?
  • Next by Date: Re: Reference counting events not always tracked in Instruments
  • Previous by thread: Reference counting events not always tracked in Instruments
  • Next by thread: Re: Reference counting events not always tracked in Instruments
  • Index(es):
    • Date
    • Thread