2017-07-14

TOMCAT - How to increase the Java memory/heap limit

Add an environmental variable, like this (Linux/MacOS):
export _JAVA_OPTIONS="-Xmx2048m -Xms512m -XX:MaxPermSize=300m"

On windows
Environment variable name: _JAVA_OPTIONS
Value: -Xmx2048m -Xms512m -XX:MaxPermSize=300m

No comments:

Post a Comment