googletomcat

Modify the Java memory settings

The Java Virtual Machine (JVM) determines the default settings for your Java application:

JAVA_OPTS="-Xms256m -Xmx512m"

You can increase these Java settings for your application if necessary. The settings are in the /opt/bitnami/tomcat/bitnami/memory.sh file. Here is an example of how to change the memory settings:

$ export JAVA_OPTS="-Xms256M -Xmx768M $JAVA_OPTS"
Last modification December 21, 2022