By Philippe Bonneau on
1/7/2013 6:26 PM
An easy way to resolve it is to use tis to increase the maximum heap size by using JVM options -Xmx512M
. This will immediately solve your OutOfMemoryError.
For example, using the following command with the XSLT processor (Saxon Java):
java -Xms1024m -Xmx1024m -jar saxon9he.jar -s:source2.xml -xsl:query.xsl -o:ids2.txt