Facebook has released 3 objective-c based tools for automatic memory leak detection on iOS – FBRetainCycleDetector, FBAlloactionTracker and FBMemoryProfiler.
FBRetainCycleDetector finds retain cycles, FBAllocationTracker provides introspection of Objective-C objects, and FBMemoryProfiler uses FBRetainCycleDetector and FBAllocationTracker allowing you to browse objects and view their memory usage over time.
Here’s an image from the FBMemoryProfiler showing it in action:
You can read more about these tools on the Facebook code site.
You can find FBMemoryProfiler on Github here.
You can find FBRetainCycleDetector on Github here.
You can find FBAllocationTracker on Github here.
A nice set of tools for automatic memory-leak detection.
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.