I recently watched one of the WWDC 2010 videos: Session 311 - Analyzing Extended Memory with Tools. Link here .
There is an interesting example in the video about searching for abandoned memory. It is said that debugging is often more important than leaks, but it can be more difficult.
Abandoned memory is defined as "Available allocated memory that is never used again."
A leak is defined as "Allocated memory that can no longer be reached."
The main way to find Abandoned memory is to take heaps using the Allocation tool.
However, after determining that I left the memory in my code, I found it really difficult to determine where it came from.
I am looking for some useful tips or resources for finding Abandoned memory.
Thanks!
memory-management memory memory-leaks objective-c iphone
Jonah
source share