When using Tomcat/Java 8 with JasperSoft 6.x, is there any memory tuning recommendations?

Document ID:  TEC1756117
Last Modified Date:  08/02/2017
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA Service Desk Manager

Releases

  • CA Service Desk Manager:Release:14.1
  • CA Service Desk Manager:Release:17.0

Components

  • JASPERSOFT REPORTS FOR SERVICE MANAGEMENT:SMJSPR
Question:

When using Tomcat/Java 8 with JasperSoft 6.x, is there any memory tuning recommendations?

Environment:
CA Service Desk Manager 14.1.03, 14.1.04 and 17.0 All Supported Version of JasperSoft
Answer:

Java classes have an internal representation within Java Hotspot VM and are referred to as class metadata.

In previous releases of Java Hotspot VM, the class metadata was allocated in the so called permanent generation.

In JDK 8, the permanent generation was removed and the class metadata is allocated in native memory. The amount of native memory that can be used for class metadata is by default unlimited.

For the sake of system stability it makes sense to limit it with some finite value.

After consulting with Tibco support, they have recommended the following changes to the Tomcat configuration:

1. Launch the 'Configure Tomcat' program and click on the Java tab.
2. Add the following line to the Java Options section

-XX:MetaspaceSize=128m

3. Stop and the restart the Tomcat service for the changes to take effect

As always, we recommend testing all changes in a non-PROD environment first.

Additional Information:

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >