• 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: How is this an "incorrect decrement of a reference count"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How is this an "incorrect decrement of a reference count"?


  • Subject: Re: How is this an "incorrect decrement of a reference count"?
  • From: Eeyore <email@hidden>
  • Date: Tue, 20 Mar 2012 12:19:35 -0700

I think the link was to the "Resource Programming Guide" which covers both Mac OS X and iOS. You will want to look at page 17 in the PDF "Legacy Patterns." If you follow David's advice and want to try Heap Shot analysis, there's a good introduction here:

http://www.friday.com/bbum/2010/10/17/when-is-a-leak-not-a-leak-using-heapshot-analysis-to-find-undesirable-memory-growth/

Aaron

On Mar 20, 2012, at 10:55 AM, David Duncan wrote:

> On Mar 20, 2012, at 10:48 AM, G S wrote:
>
>> I *am not* releasing the IBOutlets in dealloc, and have yet to see a leak in Leaks as a result.
>
>
> For a myriad of arcane reasons it is fairly difficult to see UIView (or CALayers) in Leaks. That doesn't mean they will eventually be deallocated. I would look into using Heap Shots to see what you are losing by not releasing your outlets in -dealloc.
> --
> David Duncan
>
>
> _______________________________________________
>
> 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
>


_______________________________________________

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: How is this an "incorrect decrement of a reference count"?
      • From: G S <email@hidden>
    • Re: How is this an "incorrect decrement of a reference count"?
      • From: Eeyore <email@hidden>
References: 
 >How is this an "incorrect decrement of a reference count"? (From: G S <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: Roland King <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: G S <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: Roland King <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: G S <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: Charles Srstka <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: G S <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: Roland King <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: G S <email@hidden>)
 >Re: How is this an "incorrect decrement of a reference count"? (From: David Duncan <email@hidden>)

  • Prev by Date: Re: How to get max size of view according to constraints?
  • Next by Date: Re: How to get max size of view according to constraints?
  • Previous by thread: Re: How is this an "incorrect decrement of a reference count"?
  • Next by thread: Re: How is this an "incorrect decrement of a reference count"?
  • Index(es):
    • Date
    • Thread