You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Murphy, James" <Ja...@excelergy.com> on 2001/09/07 17:41:19 UTC

Sanity Check - Memory Footprint of compiled Stylesheet

Hi Xalan List 

I wanted to make sure I'm still insane :-0

I have a stylesheet that includes a bunch of other stylesheets - total size
of all XSL is about 1 MB on disk.  When I parse the thing using Xerces-1.5
into a compiled style (based on compiledstylesheet sample) my application
footprint grows by 25 MB!  I thought this was a little much and could
prevent us from using compiled stylesheets since we may have dozens active
at anyone time.  I am using the XercesParserLiason with Xerces, as I
mentioned.  Is this normal or is there something I can so to trim this down
a bit?  I'm hip tot he time/space tradeoff and really love the performance
gains we see.  But I wonder about our ability to scale out with more
stylesheets. 

Thanks
Jim

BTW, is there a searchable archive for this list?