xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Pogue <mpo...@apache.org>
Subject Re: DOM size
Date Thu, 11 May 2000 16:30:56 GMT
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...


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

View raw message