How to Configure Jasper Apache-Tomcat’s Java Heap Size?

Identify apache-tomcat location from jasperserver installation place. Location can be look like “/opt/jasperreports-server-cp-5.0.0/apache-tomcat/bin”. If Tomcat running as a Linux Service incase it is a windows service it can be look like “C:\Jaspersoft\jasperreports-server-cp-5.5.0a\apache-tomcat\bin”

  1. Open and navigate through bin directory as shown in the screen shot below. 1
  2. Edit setenv.bat file and Update JAVA_OPTS parameter values like “-Xms512m -Xmx1024m -XX:MaxPermSize=1024m $JAVA_OPTS”.
  3. If above parameters are not exist then add those values.2

Leave a Reply