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]
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 submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.