A debug tool that monitors the memory heap and finds leaks in iOS apps without using Instruments.
HeapInspector is a debug tool for iOS that monitors the memory heap and records backtraces to help developers find memory issues like leaks, retain cycles, and unused objects. It allows inspection directly on the device without needing Apple's Instruments, making memory debugging more accessible during development.
iOS developers working with Objective-C or Swift who need to identify and resolve memory-related issues in their apps, especially those dealing with complex view controllers or custom object lifecycles.
Developers choose HeapInspector because it provides real-time heap monitoring and detailed object insights on-device, simplifying memory debugging compared to the more cumbersome Instruments workflow, and it helps catch ARC-related mistakes that can lead to memory pressure.
Find memory issues & leaks in your iOS app without instruments
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Enables memory leak detection directly on iOS devices without launching Apple's Instruments, streamlining the debugging workflow as highlighted in the README.
Records and compares heap states to identify leaking objects, retain cycles, and abandoned memory with precise object lifecycles, similar to Instruments but on-device.
Allows targeting specific class prefixes or Swift modules via HINSPDebug methods, reducing noise and focusing recordings on relevant app parts.
Helps uncover common ARC pitfalls like retain cycles and improper strong references, as demonstrated in the example project with delegate properties and NSTimers.
Backtrace recording can severely impact app performance, limiting its use to small apps or specific classes, as cautioned in the README.
Manual setup requires disabling ARC for NSObject+HeapInspector.m with -fno-objc-arc, adding complexity and potential for errors.
Designed solely for development; integrating it into production builds would degrade performance and is not recommended, limiting its applicability.
HeapInspector-for-iOS is an open-source alternative to the following products: