Subject: | variable memory requirements |
I am trying more real world examples at the moment and need a way to deal
with increased memory requirements. As a quick fix I just added the
EXTRA_JAVA_ARGS in the XSLT2.pm itself,i.e.
use Inline Java => 'DATA', EXTRA_JAVA_ARGS => '-Xmx256m',
CLASSPATH=>$classpath;
but ideally this would work from my script. I imagine like this
<code>
use XML::Saxon::XSLT2 (EXTRA_JAVA_ARGS => '-Xmx256m');
</code>
in analogy to Inline::Java