From e812a77ec2f9760794fefead8bd2bb6de5a6e68f Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 12 Oct 2015 10:05:27 +0200 Subject: Fix Xms java option of sonar.web.javaOpts - missing "-Djava.net.preferIPv4Stack=true" in comment of sonar.properties - missing default value "-Xms256m" --- .../src/main/java/org/sonar/process/ProcessProperties.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') 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"); -- cgit v1.2.3