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

ObjectAlloc Instrument Question


  • Subject: ObjectAlloc Instrument Question
  • From: Alexander von Below <email@hidden>
  • Date: Mon, 19 Jan 2009 11:26:18 +0100

Hello List,

I am currently debugging my applications memory usage using ObjectAlloc in Instruments. While this is all on the iPhone, I believe this is the right group for this, because my question is more about the tool that anything else.

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?

Any hints would be appreciated!

Alex
_______________________________________________
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>
  • Prev by Date: Re: OT: Which MacBook Pro to buy
  • Next by Date: Re: [SOLVED] Re: PLEASE HELP!!!!! [SOLVED]
  • Previous by thread: Re: XCode Compiling Threads
  • Next by thread: Re: ObjectAlloc Instrument Question
  • Index(es):
    • Date
    • Thread