Figuring Out Memory Leaks without Clang
Posted
by RoLYroLLs
on Stack Overflow
See other posts from Stack Overflow
or by RoLYroLLs
Published on 2010-03-17T04:03:27Z
Indexed on
2010/03/17
4:11 UTC
Read the original article
Hit count: 848
I'm trying to see if I can find some leaks myself in Apple's TopSongs app. Can someone help me out in at least one and how to identify what is in the Leaks reports and how I can get an idea on finding them?
ie: I got one like this:
# Category Event Type Timestamp Address Size Responsible Library Responsible Caller
0 GeneralBlock-448 Malloc 00:02.185 0x3f41220 448 libxml2.2.dylib xmlNewParserCtxt
From what I can tell, the method xmlNewParserCtxt is the problem, and it's not releasing an object, hence Malloc. The responsible library tells me it's the libxml2.2.dylib library with the problem, which I can't edit.
Am I heading in the right direction? If so, half the leaks are in that library and well, i can't edit that.
© Stack Overflow or respective owner