Update Java Options for Tomcat
- vim <TOMCAT_HOME>/bin/setenv.sh
- export CATALINA_OPTS="-Xms1024M -Xmx2048M -XX:MaxPermSize=1024m"
Xmx: Max Heap size
Xms: Min amd Initial Heap Size
XX:MaxPermSize: In this past specially to modify in the Linux. By default it will be 384 MB, we have to change that to 512 MB
根据根据需求自定义容量大小