0

I have found a memory leaks through Leaks, but it only showed the address and the leaking bytes as below. I want to know how to detect the reason causing the memory leaks? Anybody know?

enter image description here

Ying.Zhao
  • 154
  • 3
  • 13

1 Answers1

0

Open the extended detail panel (on the right).

enter image description here

Select one of the elements in the list and look at the extended detail panel, which shows the stack trace that caused the object to be created, as below:

enter image description here

Double click on it to see the code for that method.

For more about How to Use Instruments in Xcode, read the raywenderlich excellent tutorial here

Shamsudheen TK
  • 30,739
  • 9
  • 69
  • 102
  • Hi Ramshad, When I click a item in the Leaked Object, it doesn't give me any information in the Stack Trace. It shows "No stack trace is available for this leak". I wonder if I can find the object according to the address ‘0x9bf3890’ shown in the image above. Thanks~ – Ying.Zhao Jan 09 '14 at 04:46