Jan 132011
1) Check for a memory leak – Instruments ; Make sure you build your application every time before testing it with instruments since instruments is only run without a build process.
2) Add debugging messages or debug line by line to find where the problem occur – Show debug messages
3) Use NSZombie
4) Go over your code and make sure every alloc / new has one release
5) If you are using code like if (pointer == nil) ; you should also set the pointer to nil right after you release it.