IBM Tivoli Composite Application Manager for Application Diagnostics, Version

HP-UX: tuning HotSpot JVM garbage collection- UNIX - WAS agent

For HotSpot JVM, the default NewSize and MaxNewSize might be too small for some applications if these applications allocate large numbers of short living objects. Some tuning is recommended for an application that allocates many short living objects:

-XX:+DisableExplicitGC -XX:NewSize=128m -XX:MaxNewSize=256m
Also, the default MaxPermSize might be small for some applications too. It is recommended to use -XX:MaxPermSize=128m or -XX:MaxPermSize=256m

Change NewSize, MaxNewSize, and MaxPermSize based on the Maximum (-Xmx) and Minimum (-Xms) heap settings of the JVM. Before you modify these parameters, consult the HotSpot JVM documentation for details, at the following Web site:

Parent topic:

Required tasks before installation