When using Tomcat/Java 8 with JasperSoft 6.x, is there any memory tuning recommendations?
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
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.