Setting JVM properties
Deploying Actuate Java Components within some application server environments requires Java configuration to avoid Java Virtual Machine (JVM) errors. Set the following JVM properties:
*Initial heap size
Include -Xms512m as a Java option.
*Maximum heap size
Include -Xmx1536m as a Java option.
*Maximum size for the permanent generation heap
Include -XX:MaxPermSize=256m as an option.
How to configure JVM properties for Tomcat 6.x and 7.x on Windows
1 From the Windows Start menu, choose All ProgramsApache Tomcat 6.xConfigure Tomcat.
2 On Apache Tomcat 6.x Properties, choose Java.
3 Change the value of the Initial memory pool to 512.
4 Change the value of the Maximum memory pool to 1536.
5 Add -XX:MaxPermSize=256m to Java Options on separate lines, as shown in Figure 3‑8.
Figure 3‑8 Apache Tomcat 6 Java configuration
6 Choose OK.
7 Restart Tomcat.
How to configure JVM properties for JBoss on Windows
1 Navigate to the following directory:
<JBoss install directory>\bin
2 Open run.bat.
3 Add -Xms512m -Xmx1536m and -XX:MaxPermSize=256m to the JAVA_OPTS variable specification.
4 Save and close run.bat.
5 Restart Tomcat.
How to configure JVM properties for Tomcat on Linux
1 Navigate to the following directory:
/etc/tomcat#
where # is the Tomcat release number, either 6 or 7
2 Open tomcat#.conf.
3 Add -Xms512m -XMx1536m and -XX:MaxPermSize=256m to the JAVA_OPTS variable specification.
4 Save and close tomcat#.conf.
5 Restart Tomcat.