Re: [xml] Memory leak in tree.c

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Tue Jun 08 1999 - 18:14:11 EDT


On Tue, Jun 08, 1999 at 07:46:12PM +0100, Steve Ratcliffe wrote:
>
>
> I also have an app that builds up a tree only to print it out. With 1.0.0
> this took ~3 seconds and used 18M of memory for a 25000 node tree giving
> an output file size of a little over 1M.
>
> With 1.1.0 it took an unacceptable amount of time and memory usage
> swelled to 103M!
>
> Tracked this down to a memory leak, patch below (this may not be the
> best fix of course). Performance is now on a par with 1.0.0.

  Steve,

 thanks for the patch, I actually found and fixed it already in my
own CVS base but didn't yet commited it to the Gnome CVS tree.
The story is that my version of Insure++ stopped working when upgrading
to RH-6.0 and I got a dual boot to RH-5.2 only this week-end.
 The code base at http://dev.w3.org/ under XML has been completely
cleaned with Insure++ (but remaining bugs are possible).
 One thing is sure, I will release libxml-1.2 shortly, i still have
a couple of issues to fix before like:
   - finishing the I/O model revamping
   - Improved global interfaces
   - fix the bug with the xmlspec dtd
 
 If lucky, before Friday,

Daniel

-- 
	    [Yes, I have moved back to France !]
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | Today's Bookmarks :
Tel : +33 476 615 257  | 655, avenue de l'Europe | Linux, WWW, rpmfind,
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | rpm2html, XML,
http://www.w3.org/People/W3Cpeople.html#Veillard | badminton, and Kaffe.
----
Message from the list xml@rufus.w3.org
Archived at : http://rufus.w3.org/veillard/XML/messages
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rufus.w3.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:29:38 EDT