xsl-list
[Top] [All Lists]

RE: [xsl] Fwd: ERROR

2008-04-01 02:07:22

I am getting below error, while processing a big xml file 
with saxon 9.

Firstly, you're not using Saxon 9: the stacktrace shows that you are using
Saxon 6.x.

Also, you're not using Saxon's TinyTree implementation, which is the
default; you are using the linked tree, which takes more space.

When you've fixed those issues, make sure you allocate enough memory to the
Java VM, by specifying -Xmx1024m say on the command line.

Oh, and product-specific questions are best sent to the saxon-help list or
forum at SourceForge.

Michael Kay
http://www.saxonica.com/


what configuation needs to be done to come out of this error.


Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at java.util.Arrays.copyOfRange(Unknown Source)
        at java.lang.String.<init>(Unknown Source)
        at 
com.icl.saxon.tree.TreeBuilder.characters(TreeBuilder.java:231)
        at 
com.icl.saxon.output.ProxyEmitter.characters(ProxyEmitter.java:101)
        at com.icl.saxon.om.Stripper.characters(Stripper.java:201)
        at com.icl.saxon.ContentEmitter.flush(ContentEmitter.java:220)
        at 
com.icl.saxon.ContentEmitter.endElement(ContentEmitter.java:139)
        at 
com.icl.saxon.aelfred.SAXDriver.endElement(SAXDriver.java:792)
        at 
com.icl.saxon.aelfred.XmlParser.parseETag(XmlParser.java:1133)
        at 
com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1217)
        at 
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
        at 
com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
        at 
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
        at 
com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
        at 
com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
        at 
com.icl.saxon.aelfred.XmlParser.parseDocument(XmlParser.java:510)
        at com.icl.saxon.aelfred.XmlParser.doParse(XmlParser.java:163)
        at com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:320)
        at com.icl.saxon.om.Builder.build(Builder.java:258)
        at 
com.icl.saxon.PreparedStyleSheet.prepare(PreparedStyleSheet.java:113)

        at 
com.icl.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryI
mpl.java:127)
        at com.icl.saxon.StyleSheet.doMain(StyleSheet.java:327)
        at com.icl.saxon.StyleSheet.main(StyleSheet.java:63)

Regards
 Eugene

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>