Ram Krishnamoorthi wrote:
Apologize for posting this in the FOP Forum..but does
anyone know if there any Upper Limit on the Size of
the XML File that can be Processed by the Xalan XSLT
Processor?
I am having trouble generating simple FO Objects for
XML Files which are over 50 MB. I dont get any error
messages.but when i observe the FO output file..I can
see that it has not Transformed the entire XML File.
The maximal input file size is mostly determined by the available
memory, and to some extent by the complexity off the transformation
and output handling.
Xalan (as well as most other XSLT processors, most of the time)
reads the complete input into memory and builds an internal data
structure for processing. As a rule of thumb, JVM memory to input
files size is 10:1 (unless recent releases improved significantly),
i.e. a 50MB input will need around 500MB JVM heap size for holding
the input. The transformation also uses memory, especially building
RTF variables, recursive templates for complex string manipulation,
large key tables, XPath expressions which select a significant
part of the input but not a whole subtree and Muenchean grouping
can eat a lot of additional memory. If you serialize the output,
this is usually streamed, but if you want to process the result
further, you'll need even more ressources..
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]