Hi Joachim,

Do you happen to know how to set the Xmx for the JVM through JNIPort?

I have this one right now, but I am not sure it's correct:

jvmSettings := JVMSettings new.
...
jvmSettings runtimeSettings addOption: 'Xmx4000m'.
^��JVM newWithSettings: jvmSettings

Cheers,
Tudor


On Fri, Aug 7, 2015 at 8:29 AM, Tudor Girba <tudor@tudorgirba.com> wrote:
Hi,

When using JNIPort I am getting a "java.lang.OutOfMemory: Java heap space". To go around this, I would need to provide more memory to the JVM.

Essentially, I would like to provide the correspondent of a command line like:
java -Xmx4000m

How should I do this?

Cheers,
Doru

--

"Every thing has its own flow"



--
www.tudorgirba.com

"Every thing has its own flow"