aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-04-08 14:06:44 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2014-04-08 14:07:16 +0200
commit6e0d69bbf8c0828d703cf3660ca5fe566c89f1f5 (patch)
tree9732c4cfa421ef35fc66028bb0434c6d8f45388f /sonar-application
parentbb3b75ca4444e69509c1efec25e6b172398a642c (diff)
downloadsonarqube-6e0d69bbf8c0828d703cf3660ca5fe566c89f1f5.tar.gz
sonarqube-6e0d69bbf8c0828d703cf3660ca5fe566c89f1f5.zip
SONAR-5204 fix initial heap size
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/src/main/assembly/conf/wrapper.conf14
1 files changed, 7 insertions, 7 deletions
diff --git a/sonar-application/src/main/assembly/conf/wrapper.conf b/sonar-application/src/main/assembly/conf/wrapper.conf
index b7c7034cbdf..9c3b102ebac 100644
--- a/sonar-application/src/main/assembly/conf/wrapper.conf
+++ b/sonar-application/src/main/assembly/conf/wrapper.conf
@@ -4,12 +4,14 @@ wrapper.java.additional.2=-XX:MaxPermSize=160m
wrapper.java.additional.3=-XX:+HeapDumpOnOutOfMemoryError
wrapper.java.additional.4=-Dfile.encoding=UTF-8
wrapper.java.additional.5=-Djruby.management.enabled=false
-wrapper.java.additional.6=-Xms256M
-wrapper.java.additional.7=-Xmx512M
+wrapper.java.additional.6=-Xmx512M
# 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.8=-server
+#wrapper.java.additional.7=-server
+
+# Initial Java Heap Size (in MB)
+wrapper.java.initmemory=256
#********************************************************************
# Wrapper Java Properties
@@ -41,11 +43,9 @@ wrapper.java.library.path.1=./lib
# Application parameters. Add parameters as needed starting from 1
wrapper.app.parameter.1=org.sonar.application.StartServer
-# Do not touch the 2 following properties. Memory settings are set
-# with -Xmx and -Xms (see above).
+# Do not touch the following property. Max memory is set with -Xmx (see above).
# See https://jira.codehaus.org/browse/SONAR-5204
-wrapper.java.initmemory=0
-wrapper.java.maxmemory=9
+wrapper.java.maxmemory=0
#********************************************************************
# Profiling and debbuging - for development only