Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


RE: [xsl] Fwd: ERROR

From: "Michael Kay" <mike@------------>
To:
Date: 4/1/2008 9:07:00 AM
> 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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent