Re: [xml] Memory leak problem



Hi Eric,

I'd use AddressSanitizer to debug this kind of problem. It's built into recent clang and gcc versions but probably doesn't support AIX. If you can produce a stand-alone test program that exhibits the memory leak, you could debug it under Linux, though.

Another option is libxml2's built-in memory debugging:

    http://xmlsoft.org/xmlmem.html

It's rather limited but it might be your only option if you can't use external tools.

Nick


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]