Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 99527 invoked from network); 19 May 2000 01:45:02 -0000 Received: from mg03.austin.ibm.com (HELO mailgate3.austin.ibm.com) (192.35.232.20) by locus.apache.org with SMTP; 19 May 2000 01:45:02 -0000 Received: from netmail1.austin.ibm.com (netmail1.austin.ibm.com [9.53.250.96]) by mailgate3.austin.ibm.com (AIX4.3/8.9.3/8.9.3) with ESMTP id UAA12160 for ; Thu, 18 May 2000 20:26:51 -0500 Received: from popmail.austin.ibm.com (popmail.austin.ibm.com [9.53.247.178]) by netmail1.austin.ibm.com (8.8.5/8.8.5) with ESMTP id UAA40988 for ; Thu, 18 May 2000 20:45:01 -0500 Received: from apache.org (socks2.almaden.ibm.com [9.1.40.50]) by popmail.austin.ibm.com (AIX4.2/UCB 8.7/8.7-client1.01) with ESMTP id UAA28698 for ; Thu, 18 May 2000 20:44:58 -0500 (CDT) Message-ID: <39249D12.D48BCDAF@apache.org> Date: Thu, 18 May 2000 18:46:58 -0700 From: Mike Pogue Organization: xml.apache.org X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: general@xml.apache.org Subject: Re: DOM size References: <3.0.32.20000511085445.014a0370@pop.intergate.ca> <391AE040.118704E4@apache.org> <391AF513.86402F6A@selectacast.net> <391AFC30.8EF5DBB6@apache.org> <391B064B.AA0AEDC5@selectacast.net> <391B2D5B.44CCFD1C@exoffice.com> <39248F7E.F47BFCB0@selectacast.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hmmmmm. If you add a whole bunch of nodes, and the size doesn't change, that means that the DOM tree itself isn't the source of the memory usage (unless it's the Document node, and I think that's unlikely). Do you have a program like OptimizeIt, that tells you exactly what's allocated? It would be interesting to know which objects are actually hanging around (is there some reason why some objects weren't gc'ed?) This reminds me of a similar problem being discussed right now -- a so-called "memory leak". We don't know the cause yet, but your help would be appreciated in tracking this down! Mike Joseph Shraibman wrote: > > I finally had some time to run more tests. I added more elements, child nodes, text > nodes, etc. The size didn't change much over a base Document. So the Document is eating > up 100k > > > > > --------------------------------------------------------------------- > In case of troubles, e-mail: webmaster@xml.apache.org > To unsubscribe, e-mail: general-unsubscribe@xml.apache.org > For additional commands, e-mail: general-help@xml.apache.org