JBOSS_JAVA_OPTS

The JBOSS_JAVA_OPTS variable specifies the memory settings for the JBoss Java virtual machine.

Values

Java specifications

Default

-Xms1024m -Xmx2048m

Important: All JVM parameters but -Xms1024m and -Xmx2048m have been hard-coded in the TeamForge core application. You cannot manually configure any of the following default JVM parameters in the site-options.conf file.
  • -XX:+UseParallelGC
  • -XX:MaxMetaspaceSize=512m
  • -XX:ReservedCodeCacheSize=128M
  • -server
  • -XX:+HeapDumpOnOutOfMemoryError
  • -XX:HeapDumpPath=/tmp -verbose:gc
  • -XX:+PrintCodeCache
  • -Djsse.enableSNIExtension=false
  • -Dsun.rmi.dgc.client.gcInterval=600000
  • -Dsun.rmi.dgc.server.gcInterval=600000
  • -Djava.security.egd=file:/dev/urandom
  • -Djava.awt.headless=true.

When you change the default value of a JVM parameter such as "-XX:HeapDumpPath", the JBoss runtime parameters include both the user defined and default values for the JVM parameter. However, JBoss runs with the default value and ignores any user defined value.