From 6e0d69bbf8c0828d703cf3660ca5fe566c89f1f5 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 8 Apr 2014 14:06:44 +0200 Subject: [PATCH] SONAR-5204 fix initial heap size --- .../src/main/assembly/conf/wrapper.conf | 14 +++++++------- 1 file 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 -- 2.39.5