Java 1.6 JVM Settings:
----------------------

Windows:

REM Recommended Settings

set JAVA_OPTS=%JAVA_OPTS%  -Xms512m  -Xmx1024m  -XX:PermSize=32m  -XX:MaxPermSize=128m  
set JAVA_OPTS=%JAVA_OPTS%  -Xss2m  -XX:+UseConcMarkSweepGC  -XX:+CMSClassUnloadingEnabled

REM Additional settings for Web Services

set JAVA_OPTS=%JAVA_OPTS%  -Djavax.xml.soap.MessageFactory=org.apache.axis.soap.MessageFactoryImpl
set JAVA_OPTS=%JAVA_OPTS%  -Djavax.xml.soap.SOAPConnectionFactory=org.apache.axis.soap.SOAPConnectionFactoryImpl
set JAVA_OPTS=%JAVA_OPTS%  -Djavax.xml.soap.SOAPFactory=org.apache.axis.soap.SOAPFactoryImpl
set JAVA_OPTS=%JAVA_OPTS%  -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl


Linux:

# Recommended Settings

JAVA_OPTS="$JAVA_OPTS  -Xms512m  -Xmx1024m  -XX:PermSize=32m  -XX:MaxPermSize=128m "
JAVA_OPTS="$JAVA_OPTS  -Xss2m  -XX:+UseConcMarkSweepGC  -XX:+CMSClassUnloadingEnabled "

# Additional settings for Web Services

JAVA_OPTS="$JAVA_OPTS  -Djavax.xml.soap.MessageFactory=org.apache.axis.soap.MessageFactoryImpl"
JAVA_OPTS="$JAVA_OPTS  -Djavax.xml.soap.SOAPConnectionFactory=org.apache.axis.soap.SOAPConnectionFactoryImpl"
JAVA_OPTS="$JAVA_OPTS  -Djavax.xml.soap.SOAPFactory=org.apache.axis.soap.SOAPFactoryImpl"
JAVA_OPTS="$JAVA_OPTS  -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl"
