Installation and Upgrade Guide > TDV Docker Container > Runtime TDV Container Configuration - Common Examples > Configure JVM Settings from Docker
 
Configure JVM Settings from Docker
This section describes how to review existing JVM settings and add custom settings for TDV Server in the docker environment.
To Review Existing Settings
1. List the contents of the files “script_env.sh”. This file exists if you added custom JVM options to your TDV Server.
cat conf/script_env.sh
2. Search the default Linux JVM arguments set for the TDV Server in the “server.properties” file.
cat conf/server/server.properties | grep "linux.vmargs"
To Add Custom JVM Settings for TDV Server
Follow these steps to add custom JVM Settings::
1. Navigate to<TDV_INSTALLDir>/conf
$ cd ./<TDV_INSTALL_DIR>/conf
2. Copy script_env.sh.sample to script_env.sh
$ cp script_env.sh.sample script_env.sh
3. Open script_env.sh with a text editor (nano) and uncomment the last two lines:
$ nano script_env.sh
# CIS_SERVER_VM_ARGS=
# export CIS_SERVER_VM_ARGS
4. Modify the script_env_sh file to have a content like this at the end of the file:
CIS_SERVER_VM_ARGS="-Djavax.net.debug=all -Ddrill.java.home=/data/opt/TIBCO/<TDV_INSTALL_DIR>/jdk -server -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/data/opt/TIBCO/<TDV_INSTALL_DIR>/logs -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Xmx2048m -Djava.library.path=/data/opt/TIBCO/<TDV_INSTALL_DIR>/apps/server/lib/svn/lin64"
export CIS_SERVER_VM_ARGS
Note:You can get the content for CIS_SERVER_VM_ARGS from the file <TDV_INSTALL_DIR>/conf/server/ server.properties.