[XML-SIG] 4XSLT Performance Problems with Large Files

Thomas B. Passin tpassin@home.com
Tue, 30 Oct 2001 17:17:04 -0500


[Uche Ogbuji]

>
> > Here is the memory used by the various processors during processing.
> >
> > processor       decrease in free memory, MB
> > msxsl                    17
> > saxon                    21
> > 4xslt.py                 32                   (Py 1.5.2)
> > 4xslt.py                 45                   (Py 2.1.1)
> > 4xst.bat              > 194
> >
> > The 167 seconds using my script is not acceptable for my particular
> > application, but the behavior when the transformation is launched by
> > 4xslt.bat is impossible.  Why should the very same transformation take
ten
> > times the memory that msxsl or Saxon use?  You can't have an application
run
> > down your memory like this.  And I don't even know how much virtual
memory
> > was used on top of the 194 MB.  These results have been reasonably
> > repeatable tonight.
> >
> > I hope something can be done to improve the performance and memory usage
for
> > large files.  How about it, Uche and Mike?  Any thoughts about what is
> > happening here?
>
> I'm late to this as well, but I bet in your 4xslt.py files you used
cDomlette
> rather than pDomlette.  pDomlette uses ridiculous amounts of memory.
> cDomlette is much better behaved.  cDomlette will be the default in 4Suite
> 0.12.0, and pDomlette will probably be merged with minidom or eliminated.
>
>

Yes, I later verified that it was pDomlette that was associated with the
disasterously large memory usage and low speed.

Cheers,

Tom P