Skip to main content

On Windows

Adapt the memory allocation parameters in the Karaf start script at the following location: <RuntimeContainerPath>/bin/setenv.bat.

In configuring the script variable
%Bit_64%
you can set different values depending whether your JVM is 64-bit. 64-bit-JVMs need significantly more memory.
Information noteWarning:

There is known issue related 32-bit JVM on 64-bit Windows.

If you set JAVA_OPTS yourself you might get errors during initialization of VM. Because of this problem you would not be able to run tesb container or build examples. In this case, we recommend to set following values for memory parameters: JAVA_OPTS=-Xmx512m -XX:MaxPermSize=256m

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!