|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XSLT and memory usage
Dear XSLT experts, I'm processing a 25Kb XML file (a textual document) with a 50Kb XSLT stylesheet. The stylesheet does a lot of reordering and has around 20 top-level variables and parameters. Tranforming this XML document with this XSLT stylesheet works, but takes around 30Mb to 40Mb of memory. I've tried with both Xerces and Saxon, and memory usage is about the same. This is done in a servlet environment, using Java2/JSDK2.0/Apache JServ 1.1/Apache 1.3.9 on Windows NT 4.0, in case it matters. Trying the same stylesheet with Xalan, Saxon and XT from the command line, it is even worse, taking more than 100Mb of memory with Saxon and Xalan, XT being more performant with "only" 60Mb. Obviously, processing my stylesheet requires a lot of memory, so I would like to know the general guidelines about memory usage and XSLT stylesheets. Are there any recommendations for making the transformations as efficient as possible? Thank's for any info, Martin Sévigny sevigny@xxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








