]> source.dussan.org Git - sonarqube.git/commitdiff
Increase default ES max heap size from 256m to 1G
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 2 Dec 2014 09:20:28 +0000 (10:20 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 2 Dec 2014 13:21:39 +0000 (14:21 +0100)
sonar-application/src/main/java/org/sonar/application/DefaultSettings.java

index ede244379cfdb6e6ecc258a925db2ae9c8bf55a0..de9f68054fa87661a73adb3687de1d4f950bc140 100644 (file)
@@ -58,7 +58,7 @@ class DefaultSettings {
   private static Map<String, String> defaults() {
     Map<String, String> defaults = new HashMap<String, String>();
     defaults.put(ProcessConstants.CLUSTER_NAME, "sonarqube");
-    defaults.put(ProcessConstants.SEARCH_JAVA_OPTS, "-Xmx256m -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true " +
+    defaults.put(ProcessConstants.SEARCH_JAVA_OPTS, "-Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true " +
       "-XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly " +
       "-XX:+HeapDumpOnOutOfMemoryError");
     defaults.put(ProcessConstants.SEARCH_JAVA_ADDITIONAL_OPTS, "");