Subject:java.lang.OutOfMemoryError:Java heap space Author:shae devlin Date:13 Sep 2005 10:33 AM Originally Posted: 13 Sep 2005 10:22 AM
What cause a java heap error within Stylus Studio?<br>
It happens when I try to debug an XSLT 2.0 stylesheet and a raw xml document...<br>
<br>
Thanks in advance
Subject:java.lang.OutOfMemoryError:Java heap space Author:Tony Lavinio Date:14 Sep 2005 04:12 PM
Debugging uses significantly more heap space than not debugging,
because Saxon suppresses much optimization. Normally, Saxon
reorders execution and combines expressions to the point where there
is little correlation to the original input source and the actual
runtime profile. But when run in debug mode, it tries to run the
code in the order a human would expect.
You could try setting the -Xmx option higher under Tools|Options for
the JVM; as an example, -Xmx100m sets the heap maximum to 100
megabytes.