Colors in Instruments when hunting down memory leaks
Posted
by Structurer
on Stack Overflow
See other posts from Stack Overflow
or by Structurer
Published on 2010-05-31T02:16:34Z
Indexed on
2010/05/31
2:22 UTC
Read the original article
Hit count: 291
Hi
I'm currently hunting down a memory leak in my app for iPhone. I'm using Instruments to track down the code that is causing the leak (becoming more and more a friend of Instruments!). Now Instruments show two lines: one in dark blue (row 146) and one in a lighter blue (150). From some trial and error I get that they are connected somehow, but not good enough at Objective-C and Memory Management yet to really understand how.
Does anyone know why different colors are used and what could be my problem?
I have tried to release numberForArray but the the app crashes when showing the last line in a picker view.
All ideas appreciated!
(Posting this I also realize that line 139 is redundant! Se there, already an improvement ;-)
© Stack Overflow or respective owner