What are the methods/tools i can use to check if in my application for iphone there are no memory leaks? Or how to find and fix them?
Share
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.
Use instruments: First build and install your app on the simulator. Stop the process again (the red shield where it says “task”), then go to Run->Run with perfomance tool->Leaks. This will start Instruments preconfigured with a Leaks and memory allocation tool. For more info check out Apple’s Memory Usage Performance Guidelines (which also has a section on finding leaks): http://developer.apple.com/library/ios/#documentation/Performance/Conceptual/ManagingMemory/ManagingMemory.html