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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.