Re: [xml] Memory Leaks in parse3.c example

On Tue, Aug 08, 2006 at 09:04:20AM -0400, Chris Johnson wrote:
While working with parser3.c example 
( on Solaris 8 Rational Purify 
identifies several areas as having leaked memory.

Modifying parse3.c to

    example3Func(document, 6);

and closely monitoring the process using 'top' clearly shows the process 
eating memory.

Any feedback on identified problem areas would be very helpful.

  Sorry, no ... No leak seen here. Doing the same modification and running in
loop for a while RSS stay at 600Kbytes used. There might be a leak, but either
it's not in libxml2 or it's specific to your settup (which would be quite
  Make sure you use the right latest libs etc... check stuff at your OS level
and also possibly reconfigure to set up debugging as exaplined in the doc:


Daniel Veillard      | Red Hat
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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