search cancel

How to Set JVM Options for Jaspersoft Servers

book

Article ID: 33213

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

How to Set JVM Options for Jaspersoft Servers: Java Virtual Machine (JVM) runtime parameters normally need to be explicitly set so that the memory settings have values that are larger than the default settings and required to achieve optimal performance.

 

 

Cause

Informational document 

Environment

Release: All supported Jasersoft release 
Component:

Resolution

 For Windows:

  • Stop the Jaspersoft services 
  • Navigate to Jaspersoft Installed folder cd <js-install>/apache-tomcat/bin/ and edit setenv.bat
  • Look out for JAVA_OPTS and update the parameters accordingly 
    • SET "JAVA_OPTS=-Xms1024m -Xmx2048m -XX:PermSize=32m

For Non Windows:

  • Stop the Jaspersoft services 
  • Navigate to Jaspersoft Installed folder  <js-install>/apache-tomcat/bin/ and edit setclasspath.sh
  • Look out for JAVA_OPTS and update the parameters accordingly 
    • SET "JAVA_OPTS=-Xms1024m -Xmx2048m -XX:PermSize=32m

Additional Information

  • The JVM allocation are already optimized on SAAS Systems so no changes are required
  • Refer to Hardware Sizing for Jaspersoft Servers