Question

i am working on project in which application memory usage increase continuouslyenter image description here even i am on same view and app in idle

i am using ARC, dealloc also not called. most on my properties are nonatomic and retain.

Was it helpful?

Solution

XCode has a built-in memory profiler that can help you with this issue - for a tutorial on how to use it, this might be helpful http://www.raywenderlich.com/23037/how-to-use-instruments-in-xcode

Otherwise, if dealloc isn't being called it could be a symptom of a retain cycle (two objects maintain strong references to each other, so they are never deallocated).

OTHER TIPS

You can find fix the Memory Leaks using Analyze option of XCode

Open XCode --- Product --- Analyze

Then you can find the memory allocation issues locaton with blue identification.

You can fix them where you not using any object which are allocated and so on....

Hope it helps you..

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top