• 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: ObjectAlloc Instrument Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ObjectAlloc Instrument Question


  • Subject: Re: ObjectAlloc Instrument Question
  • From: Alexander von Below <email@hidden>
  • Date: Mon, 19 Jan 2009 13:25:38 +0100

Good question, I should have mentioned that I did check that. Yes, it does call [super dealloc]

Alex

Am 19.01.2009 um 13:23 schrieb Ken Thomases:

On Jan 19, 2009, at 4:26 AM, Alexander von Below wrote:

So, in ObjectAlloc I see my memory usage increasing every time I perform a certain action. Using the "Created & Still Living Option", it appears that certain objects of mine (to be specific, subclasses of UIViewController) do not go away as expected.

I have subclassed + alloc, and set a breakpoint there as well as on - dealloc. Everything looks fine and in sync: For every time, "+alloc" is called on my object, "-dealloc" is called at the expected time.

Still, ObjectAlloc insists that these objects are still living after "-dealloc" was called on them.

Is this expected behaviour? Am I doing something wrong? Is there a bug in my app?

Does your -dealloc override call through to super?

Cheers,
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: ObjectAlloc Instrument Question
      • From: Ken Thomases <email@hidden>
References: 
 >ObjectAlloc Instrument Question (From: Alexander von Below <email@hidden>)
 >Re: ObjectAlloc Instrument Question (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: ObjectAlloc Instrument Question
  • Next by Date: Re: ObjectAlloc Instrument Question
  • Previous by thread: Re: ObjectAlloc Instrument Question
  • Next by thread: Re: ObjectAlloc Instrument Question
  • Index(es):
    • Date
    • Thread