• 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: Memory management with arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory management with arrays


  • Subject: Re: Memory management with arrays
  • From: Bill Bumgarner <email@hidden>
  • Date: Sun, 10 Feb 2008 09:39:09 -0800

On Feb 10, 2008, at 5:36 AM, Scott Andrew wrote:
True.. (late night). So basically. Put a break in bar's dealloc. See were the extra dealloc is cooming from.

Scott

There won't be an "extra dealloc" -- once dealloc'd, the object is dead. There is an extra -release coming first, but breaking on - release won't help, either as the object is dead by the time it happens.


As I said, run the app with "-NSZombieEnabled YES". This will cause a proxy to be dropped into memory in place of every dealloc'd object and said proxy will warn when messaged (because it should never be messaged).

b.bum

_______________________________________________

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: Memory management with arrays
      • From: Adhamh Findlay <email@hidden>
References: 
 >Memory management with arrays (From: Jacob Bandes-Storch <email@hidden>)
 >Re: Memory management with arrays (From: Scott Andrew <email@hidden>)
 >Re: Memory management with arrays (From: Bill Bumgarner <email@hidden>)
 >Re: Memory management with arrays (From: Scott Andrew <email@hidden>)

  • Prev by Date: Re: self = [super init] debate.
  • Next by Date: Xcode 3.0, is it missing the Close Project menu item?
  • Previous by thread: Re: Memory management with arrays
  • Next by thread: Re: Memory management with arrays
  • Index(es):
    • Date
    • Thread