Subject: Re: [xsl] saxon8 running out of memory From: "Andrew Welch" <andrew.j.welch@xxxxxxxxx> Date: Fri, 11 Jan 2008 15:26:18 +0000 |
On 11/01/2008, Terry Ofner <tofner@xxxxxxxxxxx> wrote: > 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 Use the xmx switch, eg: java -Xmx512m ..... cheers -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] saxon8 running out of mem, Rudder, Doug Jr | Thread | Re: [xsl] Breaking up a large XML d, Andrew Welch |
RE: [xsl] saxon8 running out of mem, Rudder, Doug Jr | Date | Re: [xsl] Breaking up a large XML d, Florent Georges |
Month |