M Faheem Rajput
M Faheem Rajput

Reputation: 778

how to manage memory allocation issue in ios ARC proejct

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.

Upvotes: 2

Views: 941

Answers (2)

mspensieri
mspensieri

Reputation: 3521

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

Upvotes: 1

Vidhyanand
Vidhyanand

Reputation: 993

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

Upvotes: 0

Related Questions