Permanent generation

The HotSpot JVM sets aside an area, called permanent generation, to store the JVM's reflective data such as class and method objects. The size of this area was 64MB for Java™ 5.0 (and earlier). After Java 5.0, the size has been scaled by Oracle by 30% and is subject to change with new major JDK releases. Additionally, the size can be hardware dependent. Consult your JAVA vendor's website for details, http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html. Due to the number of classes used by application servers, you must set the permanent generation space setting to at least 768MB. If you use the default values, an OutOfMemory exception is more likely to occur during application server initialization.

To increase the permanent generation space for application servers, issue the following command:

   java -server -XX:MaxPermSize=768m java_class

To increase the permanent generation space for agents and integration servers, issue the following command:

   java -server -XX:MaxPermSize=256m java_class

This recommendation applies to the application server JVM as well as the Sterling Selling and Fulfillment Foundation agents.

Note: The agent server JVM requires only 256MB of permanent space.