diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-10-12 10:05:27 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-10-12 10:05:27 +0200 |
commit | e812a77ec2f9760794fefead8bd2bb6de5a6e68f (patch) | |
tree | c378bbfc1231bcf3b93a963ad8f1445593fb271b /server | |
parent | 8f5fbe851fa07e3287f677694f066727bfb7704d (diff) | |
download | sonarqube-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.java | 2 |
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"); |