Migrating Java Applications to HP-UX
39
• lower PermSize to a minimum (enough to accomodate startup)
• Reduce code cache size. For example:
-XX:ReservedCodeCacheSize=32m
• Reduce java thread stack size to minimum possible; watch for stack overflow:
-Xss200k
• Reduce number of threads in application.
• Reduce VM thread stack size to 512k:
-XX:VMThreadStackSize=512
• Reduce CompilerThread stack size to 1m:
-XX:CompilerThreadStackSize=1024
As mentioned in the “Key Factors Affecting Performance” section, defaults on Solaris or AIX may differ
from HP-UX. If there is a large difference in footprint when moving to HP-UX, most likely the settings of
the above parameters are very different on the platforms, and need to be adjusted.