Reputation: 4501
I have a memory leak in my iOS app which sometimes causes it to crash. The Leak is found here. Would anyone know how i would debug this?
0 0x269760 Malloc 32 Bytes Malloc 1 00:03.718.759 32 libsystem_info.dylib si_item_to_addrinfo
Upvotes: 2
Views: 1286
Reputation: 7031
For me, it's the Testflight SDK 1.1. When I comment out the [TestFlight takeoff:] method, the leak doesn't appear anymore.
Upvotes: 5
Reputation: 162712
One 32 byte leak is not going to cause a memory consumption jetsam.
First, post the backtrace of the crash(es). Secondly, use the Allocations instrument to see if memory is accreting over time.
If memory is accreting and you have some repeated action (say, visiting a bit of UI and returning to the main screen of your app), Heapshot analysis can do wonders.
Upvotes: 6