aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-06-17 09:22:12 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-06-17 09:22:12 +0200
commit46ad8ae8868871f63eaf11b1ffaf3a1e403ce92e (patch)
tree790c78d3c710229d4ecfbc08e56944c801456cf9 /sonar-application
parent219b51f0f50420aef965b0261e61b1d5b4e5323a (diff)
downloadsonarqube-46ad8ae8868871f63eaf11b1ffaf3a1e403ce92e.tar.gz
sonarqube-46ad8ae8868871f63eaf11b1ffaf3a1e403ce92e.zip
SONAR-4402 Enable the property -XX:+HeapDumpOnOutOfMemoryError by default in standalone mode
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/src/main/assembly/conf/wrapper.conf20
1 files changed, 8 insertions, 12 deletions
diff --git a/sonar-application/src/main/assembly/conf/wrapper.conf b/sonar-application/src/main/assembly/conf/wrapper.conf
index 3fc4254bc35..f6ae9409ada 100644
--- a/sonar-application/src/main/assembly/conf/wrapper.conf
+++ b/sonar-application/src/main/assembly/conf/wrapper.conf
@@ -1,10 +1,11 @@
# Java Additional Parameters
wrapper.java.additional.1=-Djava.awt.headless=true
wrapper.java.additional.2=-XX:MaxPermSize=128m
+wrapper.java.additional.3=-XX:+HeapDumpOnOutOfMemoryError
# RECOMMENDED : uncomment if Java Virtual Machine is a JDK but not a JRE. To know which JVM you use, execute
# 'java -version'. JDK displays 'Server VM'.
-# wrapper.java.additional.3=-server
+#wrapper.java.additional.4=-server
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=256
@@ -43,21 +44,16 @@ wrapper.app.parameter.1=org.sonar.application.StartServer
#********************************************************************
# Profiling and debbuging - for development only
-# If wrapper.java.additional.3=-server is not commented, parameter ids should start from 4 instead of 3.
+# If wrapper.java.additional.4=-server is not commented, parameter ids should start from 5 instead of 4.
#********************************************************************
# Java remote debugging
-#wrapper.java.additional.3=-agentlib:jdwp=transport=dt_socket,server=y,address=8000
-
-# JProfiler 5
-#wrapper.java.additional.3=-Xint
-#wrapper.java.additional.4=-agentlib:jprofilerti=port=8849
-#wrapper.java.additional.5=-Xbootclasspath/a:/Applications/jprofiler5/bin/agent.jar
+#wrapper.java.additional.4=-agentlib:jdwp=transport=dt_socket,server=y,address=8000
# JMX remote monitoring on Sun JVM (warning, security is disabled)
-#wrapper.java.additional.3=-Dcom.sun.management.jmxremote
-#wrapper.java.additional.4=-Dcom.sun.management.jmxremote.port=9005
-#wrapper.java.additional.5=-Dcom.sun.management.jmxremote.authenticate=false
-#wrapper.java.additional.6=-Dcom.sun.management.jmxremote.ssl=false
+#wrapper.java.additional.4=-Dcom.sun.management.jmxremote
+#wrapper.java.additional.5=-Dcom.sun.management.jmxremote.port=9005
+#wrapper.java.additional.6=-Dcom.sun.management.jmxremote.authenticate=false
+#wrapper.java.additional.7=-Dcom.sun.management.jmxremote.ssl=false
#********************************************************************
# Wrapper Logging Properties