The doc tells:
JVM Flags
Ammonite also supports the JAVA_OPTS environment variable for passing arguments to the JVM that it runs inside, e.g. you can pass in a custom memory limit via
By reverse engineering I've seen that I must use in order to have a 2Gb heap size:
instead of:
JAVA_OPTS=-Xmx2g ./myscript.sc
The doc tells:
By reverse engineering I've seen that I must use in order to have a 2Gb heap size:
instead of: