Tuning JVM parameters
Adjust or add these parameters in ${JBOSS_HOME/bin/run.conf
-Xms1303m -Xmx1303m -XX:PermSize=256m -XX:MaxPermSize=256m
-Xmsn
Specify the initial size, in bytes, of the memory allocation pool. This value must be a multiple of 1024 greater than 1MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is chosen at runtime based on system configuration.
Examples:
-Xms6291456
-Xms6144k
-Xms6m
-Xmxn
Specify the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is chosen at runtime based on system configuration.
Examples:
-Xmx83886080
-Xmx81920k
-Xmx80m
On Solaris 7 and Solaris 8 SPARC platforms, the upper limit for this value is approximately 4000m minus overhead amounts. On Solaris 2.6 and x86 platforms, the upper limit is approximately 2000m minus overhead amounts. On Linux platforms, the upper limit is approximately 2000m minus overhead amounts.
References:
http://java.sun.com/javase/technologies/hotspot/vmoptions.jsp
http://java.sun.com/javase/6/docs/technotes/tools/solaris/java.html
http://java.sun.com/docs/hotspot/HotSpotFAQ.html
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home