• 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: Heapshot Analysis to find Memory Accretion (Leaks)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Heapshot Analysis to find Memory Accretion (Leaks)


  • Subject: Re: Heapshot Analysis to find Memory Accretion (Leaks)
  • From: Roland King <email@hidden>
  • Date: Mon, 18 Oct 2010 22:33:47 +0800

To my Cocoa Keepers file.

Bill thank you very much, I didn't know what Heapshot did and what the output meant. Now I do.



On 18-Oct-2010, at 11:52 AM, Bill Bumgarner wrote:

> Folks--
>
> 	I wrote up an article on how to use the "Mark Heap" / "Heapshot Analysis" tools in Instruments to detect, analyze, and fix memory leaks, including those that leaks can't find.
>
> 	http://www.friday.com/bbum/2010/10/17/when-is-a-leak-not-a-leak-using-heapshot-analysis-to-find-undesirable-memory-growth/
>
> 	I would encourage everyone to give it a spin with your app.  If it is document based, then:
>
> 	- launch your app under Instruments with the Allocations Instrument
> 	- (1) open a document
> 	- select a thing, copy, paste
> 	- close the document (without saving)
> 	- press Mark Heap in Instruments
> 	- goto (1)
>
> Ideally, each "Heapshot" iteration should show 0 growth in almost all cases.
>
> enjoy,
> 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

_______________________________________________

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

References: 
 >Heapshot Analysis to find Memory Accretion (Leaks) (From: Bill Bumgarner <email@hidden>)

  • Prev by Date: Re: CMYK Text of Photoshop Layer rendered incorrectly
  • Next by Date: Re: [Q] Using NSInvocation vs. selector with NSTimer
  • Previous by thread: Heapshot Analysis to find Memory Accretion (Leaks)
  • Next by thread: Re: Heapshot Analysis to find Memory Accretion (Leaks)
  • Index(es):
    • Date
    • Thread