aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-10-12 10:05:27 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-10-12 10:05:27 +0200
commite812a77ec2f9760794fefead8bd2bb6de5a6e68f (patch)
treec378bbfc1231bcf3b93a963ad8f1445593fb271b /server
parent8f5fbe851fa07e3287f677694f066727bfb7704d (diff)
downloadsonarqube-e812a77ec2f9760794fefead8bd2bb6de5a6e68f.tar.gz
sonarqube-e812a77ec2f9760794fefead8bd2bb6de5a6e68f.zip
Fix Xms java option of sonar.web.javaOpts
- missing "-Djava.net.preferIPv4Stack=true" in comment of sonar.properties - missing default value "-Xms256m"
Diffstat (limited to 'server')
-rw-r--r--server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java b/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java
index 416e4d4c8c3..cc4468b6431 100644
--- a/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java
+++ b/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java
@@ -112,7 +112,7 @@ public class ProcessProperties {
"-XX:+HeapDumpOnOutOfMemoryError");
defaults.put(ProcessProperties.SEARCH_JAVA_ADDITIONAL_OPTS, "");
- defaults.put(ProcessProperties.WEB_JAVA_OPTS, "-Xmx768m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true");
+ defaults.put(ProcessProperties.WEB_JAVA_OPTS, "-Xmx768m -Xms256m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true");
defaults.put(ProcessProperties.WEB_JAVA_ADDITIONAL_OPTS, "");
defaults.put(ProcessProperties.JDBC_URL, "jdbc:h2:tcp://localhost:9092/sonar");
defaults.put(ProcessProperties.JDBC_MAX_ACTIVE, "60");