質問

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.

役に立ちましたか?

解決

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).

他のヒント

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..

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top