Update Java Options for Tomcat
• <install location>/sap_bobj/tomcat/bin/setenv.sh
• Start > Programs > Tomcat > Configure Tomcat >
Java
• JAVA_OPTS="-Xms128m –Xmx2048m -XX:MaxPermSize=512m“
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
you can also increase XMX to 4 Gb or 8GB based on your traffic.
Set Tomcat Garbage Collector
Java 7: JAVA_OPTS=“-XX:+UseGC1“