Use the -mx variable. I think it is explained in the Java documentation
java -mx600m net.sf.saxon.Transform ........
600m means 600 Mb internal memory.
From: Thomas Lukasser [mailto:thomas.lukasser@...]
Sent: Wednesday, August 18, 2004 12:31 AM
Subject: [saxon] Parsing very large Files (>100MB)
I would like to evaluate XPath Queries on very large XML files (over 100
MB). Unfortunately, I get an "out of memory error" even for relatively small
files, even though there is still lots of free main memory. Is there a way
to process big files with Saxon?