File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Performance issues when loading XSL with Xalan

Tim Williams
Posts: 27
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anybody experienced performance issues (extreme memory consumption, rather than speed of processing) when using Xalan to transform XML?
We are using XSL to render HTML from some XML data. In one extreme case the template object (from package org.apache.xml.templates I think) takes about 20MB for the object tree, from an XSL file of 250k.
What tips for composing XSL can people suggest to reduce the size of the Object tree and overall memory consumption?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic