Java JVM Options (jvm-options)

You can set Java JVM options to be used when starting a broker, NuoDB Manager and NuoDB REST services. To do this on Linux, set JVM options in the jvm-options file, which is in the following location:

If the broker, NuoDB Manager and NuoDB REST service are running when you change the jvm-options file then you must restart each one for it to use updated settings.

The default jvm-options file content is as follows:

# This file is in POSIX -*-shell-script-*- format.
# Copy this sample to /etc/nuodb/jvm-options in a package installation,
# or $NUODB_HOME/var/etc/jvm-options in a local installation,
# and edit as needed.
 
# Default options
# OOM handling
# NUODB_JAVA_OPTS="-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=$NUODB_RUNDIR"
 
# Options passed to java when running "service nuoagent start"
#NUODB_AGENT_JAVA_OPTS=$NUODB_JAVA_OPTS
#NUODB_AGENT_JAVA_OPTS=
 
# Options passed to java when running "service nuorestsvc start"
#NUODB_RESTSVC_JAVA_OPTS=
 
# Options passed to java when running "nuodbmgr"
#NUODB_MANAGER_JAVA_OPTS=