Return-Path: Mailing-List: contact general-help@xml.apache.org; run by ezmlm Delivered-To: mailing list general@xml.apache.org Received: (qmail 43699 invoked from network); 11 May 2000 17:59:50 -0000 Received: from p1.selectacast.net (root@206.41.1.251) by locus.apache.org with SMTP; 11 May 2000 17:59:50 -0000 Received: from selectacast.net (IDENT:jks@d1 [209.219.91.66]) by p1.selectacast.net (8.9.3/8.9.3) with ESMTP id NAA19646 for ; Thu, 11 May 2000 13:59:49 -0400 Sender: jks@p1.selectacast.net Message-ID: <391AF513.86402F6A@selectacast.net> Date: Thu, 11 May 2000 13:59:47 -0400 From: Joseph Shraibman Organization: Xtenit X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.13 i686) 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N 500 simple Documents in Xerces-J using version 1.0.2 takes up 53668K. In version 1.0.4 it is 52584K. A document should not take up 100k. Documents were created from the String: Mike Pogue wrote: > Also note that both Xerces-J and Xerces-C have recently had memory optimizations > done to the DOM (courtesy of Arnaud LeHors). In some cases, nodes got 30% smaller, > at virtually no cost in performance. > > So, be sure to measure using the latest 1.0.4 Xerces-J. Xerces-C will be doing a > build with these changes in it shortly... > > Mike > > Tim Bray wrote: > > > > At 08:57 AM 5/11/00 +0200, Dennis Thrysoe - netnord wrote: > > >Does anybody have a ballpark figure on how much memory a DOM would eat up if > > >it was an entire 16 mb XML file. (The implementation is IBM's XML4J 2.0.15 - > > >but I'm just looking for a qualified guess). > > > > N * 16M, where N ranges between 1.5 for a fine-tuned readonly DOM > > implementation in C [done by David Megginson but never released I think], to > > over 20 for some perl implementations. Also it depends (a lot) on how > > dense the tags are. -Tim > > > > --------------------------------------------------------------------- > > 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 > > --------------------------------------------------------------------- > 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