RE: [xsl] help with java.lang.outofmemoryerror

Subject: RE: [xsl] help with java.lang.outofmemoryerror
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 6 Apr 2005 09:41:29 +0100
> I am using saxon 8.3 with several input docs (>40M) while 
> outputting to over 
> 1000 xml files and get this error.  I have read about 
> allocating more memory 
> to java. How is this done? Can this be corrected? 
> 

Try 

java -Xms512m -Xmx512m -jar saxon8.jar source.xml style.xsl

to allocate 512Mb, which should be enough for 40Mb of input unless the
transformation uses a lot of temporary storage.

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

Current Thread