0

Is there a way/tool to check memory leak of Cocoa Touch project? or I need to write the codes by myself.

Thanks

interdev

arachide
  • 7,898
  • 17
  • 68
  • 131
  • This is a duplicate of this question: http://stackoverflow.com/questions/144261/memory-leak-detection-tools-in-xcode and possibly this one: http://stackoverflow.com/questions/494327/how-do-you-detect-memory-leaks-on-iphone – Brad Larson Mar 03 '10 at 18:12

3 Answers3

3

In XCode, Run -> Run with Performance Tool -> Leaks.

kennytm
  • 491,404
  • 99
  • 1,053
  • 989
3

Instruments is your friend.

Martin Cote
  • 27,586
  • 13
  • 74
  • 99
0

Try running "top" in the terminal while your application is running and look for a memory allocation blowing up?

SK9
  • 30,156
  • 34
  • 113
  • 154