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
  • 8,006
  • 18
  • 71
  • 134
  • 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
  • 510,854
  • 105
  • 1,084
  • 1,005
3

Instruments is your friend.

Martin Cote
  • 28,864
  • 15
  • 75
  • 99
0

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

Ken
  • 30,811
  • 34
  • 116
  • 155