How to set the size of the new generation and the permanent generation on Solaris J2SE 1.3
 Technote (FAQ)
 
Problem
The size of the new generation must be less than the initial heap size.
 
Solution
To disable a young generation resizing on HotSpot, set the size of the young generation to a constant.
-XX:NewSize=<size in byte>

* Default size
Sparc: 2.125 M
Intel: 640 k

To set the size of the permanent generation:
-XX:MaxPermSize=<size>

* Default size : 64 m

Notes:
  1. The size of the new generation must be less than the initial heap size.

    ( -XX:NewSize < -Xms <= -Xmx )

  2. The size of the permanent generation must be less than the maximum heap size.

    (-XX:MaxPermSize < -Xmx )
 
 
Cross Reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > Java SDK
Operating system(s): Solaris
Software version: 5.0
Software edition:
Reference #: 1140307
IBM Group: Software Group
Modified date: Mar 31, 2006