Tutorial: Finding Memory Leaks With The Allocations Instrument And Heapshot Analysis

Memory leaks can be a major hassle, and I’ve mentioned some Objective-C memory management in the past, and a great beginners tutorial how to avoid memory leaks in iOS apps.

Today I found a great guide on how to use Xcode’s excellent allocations instrument tool — specifically on how to use heapshots to pinpoint any memory leaks within your apps.  This guide goes through everything in a step-by-step manner on how to find the leaks, and details the elimination of a specific problem.

The technique in this tutorial is very useful if you just can’t trace the problem by using the static analysis “Build And Analyze” option in Xcode.

You can find the tutorial on bbum’s weblog at:
Using Heapshot Analysis to Find A Memory Leak

If you’ve got a leak that you just can’t get a hold of this is some great info.

[via Ablepear Software]

iOS 5 by tutorials provides an extensive collection of hands-on tutorials (over 600 pages) with source code examples to help you understand the new APIs as quickly as possible.
Read more...
DeliciousTwitterFacebookLinkedInEmail

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can send a Tweet to @maniacdev on Twitter or submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

One Response to Tutorial: Finding Memory Leaks With The Allocations Instrument And Heapshot Analysis

  1. Suena extremadamente útil: Tutorial: Finding Memory Leaks With The Allocations Instrument And Heapshot Analysis http://t.co/EpCalCE

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>