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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to