tomcatPath/bin/catalina.sh
JAVA_OPTS = "$_JAVA_OPTS -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Xms1024M -Xmx1024M -XX:NewSize=512m -XX:MaxNewSize=512m -XX:PermSize=512M -XX:MaxPermSize=512M -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:ParallelGCThreads=2 -XX:SurvivorRatio=4 -XX:+HeapDumpOnOutOfMemoryError"