xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Shraibman <...@p1.selectacast.net>
Subject Re: DOM size
Date Fri, 19 May 2000 03:00:03 GMT
OK I downloaded a trial version of OptimizeIt and am attaching the output.  It looks like
there are a lot of ints allocated.

Mike Pogue wrote:

> 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
>
> ---------------------------------------------------------------------
> 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

Mime
View raw message