Rabindra Laheri
Rabindra Laheri

Reputation: 1

analysing memory allocation in xcode

When doing some operation on the app I am able to see the memory graph on the xcode. But not able to trace out the location on the code which is responsible for the increase in memory.

OR if it is because of allocation of memory on some object, then need to find out that object.

Upvotes: 0

Views: 508

Answers (2)

Philipp Otto
Philipp Otto

Reputation: 4111

To find out more about allocated objects try instruments (Run option "Profile") and select "Allocation".

enter image description here

enter image description here

Upvotes: 2

Abhinav
Abhinav

Reputation: 38162

For object level memory allocation trace you should use Allocation instruments.

Upvotes: 0

Related Questions