The following Java arguments are highly recommended for any applications running on Sun HotSpot JVMs on Solaris or Windows and are required for the Portal Application Framework:
-XX:NewSize=128M
-XX:MaxNewSize=128M
Setting these two parameters to the same value keeps the JVM from having to take time to grow the
NewSize
portion of the heap. The128M
value is just an example. You should set these parameters to 1/4 of the size of your heap. The default for JSDK 1.3.0 is32M
-XX:+UseLWPSynchronization
Use LWP-based instead of thread-based synchronization (Solaris/SPARC only)
-XX:SurvivorRatio=40
This parameter is the ratio of Eden to survivor space.
See the Modifying the Environment Settings section in the Configuring Nucleus Components chapter for more information about setting Java arguments.
For more information about HotSpot tuning, see Sun’s page at:
http://java.sun.com/docs/hotspot/VMOptions.html