JVM Args
The following JVM Args are supported when starting the embedded server.

heapSize

You can set the max heap size the server is allowed to have (-Xmx) by passing the heapSize parameter to the start command. This parameter defaults to megabytes but you can specify any valid suffix.
1
start heapSize=1024
Copied!
In server.json
1
server set JVM.heapSize=1024
2
server set JVM.heapSize=2G
3
server show JVM.heapSize
Copied!

minHeapSize

You can set the starting heap size for the server (-Xms) by passing the minHeapSize parameter to the start command. This parameter defaults to megabytes but you can specify any valid suffix.
1
start minHeapSize=1024
Copied!
In server.json
1
server set JVM.minHeapSize=1024
2
server set JVM.minHeapSize=2G
3
server show JVM.minHeapSize
Copied!

Ad Hoc JVM Args

You can specify ad-hoc JVM args for the server with the JVMArgs parameter.
1
start JVMArgs="-XX:MaxGCPauseMillis\=200"
Copied!
In server.json
1
server set JVM.args="-XX:MaxGCPauseMillis\=200"
2
server show JVM.args
Copied!

Ad Hoc Runwar Options

You can specify ad-hoc options for the underlying Runwar library using the RunwarArgs parameter.
1
start RunwarArgs="--sendfile-enable false"
Copied!
In server.json
1
server set runwar.args="--sendfile-enable false"
2
server show runwar.args
Copied!
Last modified 5mo ago