On Tue, Aug 08, 2006 at 09:04:20AM -0400, Chris Johnson wrote: > While working with parser3.c example > (http://xmlsoft.org/examples/parse3.c) on Solaris 8 Rational Purify > identifies several areas as having leaked memory. > > Modifying parse3.c to > > while(1) > 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 surprizing). 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: http://xmlsoft.org/xmlmem.html#Debugging Daniel -- Daniel Veillard | Red Hat http://redhat.com/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
