XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Mike MohrSubject: Java.lang.OutOfMemory - when I "Preview Result"
Author: Mike Mohr
Date: 01 Oct 2009 06:04 PM
I have an XSLT that converts data from XML to a flat file format for use in an integration. The XML is 60MB and when I try to process it I get the following error.

java.lang.OutOfMemoryError: Java heap space

I can process much smaller XML files just fine.

Thanks,
Mike

Postnext
Ivan PedruzziSubject: Java.lang.OutOfMemory - when I
Author: Ivan Pedruzzi
Date: 06 Oct 2009 06:10 PM
Hi Mike,

If you ara stuck with XSLT then you can try to tune the Java memory heap and hope that input XML will fit in meory.

Alternatively you could try our DataDirect XQuery designed to scale on large data set.

Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Posttop
Mike MohrSubject: Java.lang.OutOfMemory - when I
Author: Mike Mohr
Date: 07 Oct 2009 08:24 AM
Thanks for the reply.
I was able to get it to work. I had seen others adding the command line parameter -Xmx700m to the "External JVM" parameters input box, but that didn't help with the internal JVM.
So, I added it to the front of the internal JVM parameters and it wouldn't even start processing.
Finally I reduced the number to 200 (-Xmx200m) and it worked! I can now process all 60MB of data without any issues.

Thanks,
Mike

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.