]> source.dussan.org Git - sonarqube.git/commitdiff
Fix documentation of JVM server mode
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 6 Jan 2015 13:27:09 +0000 (14:27 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 6 Jan 2015 13:27:09 +0000 (14:27 +0100)
sonar-application/src/main/assembly/conf/sonar.properties

index 324ed71e5f8b0b65b40701255b0ce699f4c474d4..ec7691a1939d87512ce4262de4f1c051b46f7be2 100644 (file)
 # WEB SERVER
 
 # Web server is executed in a dedicated Java process. By default its heap size is 768Mb.
-# Use the following property to customize JVM options. Enabling the HotSpot Server VM
-# mode (-server) is recommended.
+# Use the following property to customize JVM options.
+# The HotSpot Server VM is recommended. The property -server should be added if server mode
+# is not enabled by default on your environment: http://docs.oracle.com/javase/7/docs/technotes/guides/vm/server-class.html
 #sonar.web.javaOpts=-Xmx768m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError
 
-# Same as previous property, but allows to not repeat all other settings
-# like -Djava.awt.headless=true
+# Same as previous property, but allows to not repeat all other settings like -Xmx
 #sonar.web.javaAdditionalOpts=
 
 # Binding IP address. For servers with more than one IP address, this property specifies which
 # Elasticsearch is used to facilitate fast and accurate information retrieval.
 # It is executed in a dedicated Java process.
 
-# JVM options. Note that enabling the HotSpot Server VM mode (-server) is recommended.
+# JVM options
+# The HotSpot Server VM is recommended. The property -server should be added if server mode
+# is not enabled by default on your environment: http://docs.oracle.com/javase/7/docs/technotes/guides/vm/server-class.html
 #sonar.search.javaOpts=-Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true \
 #  -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 \
 #  -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError
 
-# Same as previous property, but allows to not repeat all other settings
-# like -Djava.awt.headless=true
+# Same as previous property, but allows to not repeat all other settings like -Xmx
 #sonar.search.javaAdditionalOpts=
 
 # Elasticsearch port. Default is 9001. Use 0 to get a free port.