xsl-list
[Top] [All Lists]

RE: [xsl] saxon8 running out of memory

2008-01-11 08:26:11
You can adjust the command line to say "java -Xmx1024M -jar
"c:\saxon\saxon.jar" to get around this issue.

-----Original Message-----
From: Terry Ofner [mailto:tofner(_at_)comcast(_dot_)net] 
Sent: Friday, January 11, 2008 9:20 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] saxon8 running out of memory

I have several documents I need to transform using XSLT 2.0. However,  
with very large xml input files I have noticed that Saxon 8 (or java)  
runs out of memory, kicking out this error message:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

Is there a way to allot more memory at the command line or in a  
config file?

I am running this on Mac OS x 10.4.11

java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13- 
b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode, sharing)

My command line:

java -jar /usr/local/bin/saxon8.jar input.xml sort.xsl > sortout.xml

Thanks


--~------------------------------------------------------------------
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>
--~--