aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-12-02 10:20:28 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-12-02 14:21:39 +0100
commit7bef4ae1abae10e4509f7cf0756033dc9478282a (patch)
treec478620d63e2c3af7205b49b97d2f414354b76a4 /sonar-application
parent0399fbfe3896d6e47006616063e7c46070cba95f (diff)
downloadsonarqube-7bef4ae1abae10e4509f7cf0756033dc9478282a.tar.gz
sonarqube-7bef4ae1abae10e4509f7cf0756033dc9478282a.zip
Increase default ES max heap size from 256m to 1G
Diffstat (limited to 'sonar-application')
-rw-r--r--sonar-application/src/main/java/org/sonar/application/DefaultSettings.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/DefaultSettings.java b/sonar-application/src/main/java/org/sonar/application/DefaultSettings.java
index ede244379cf..de9f68054fa 100644
--- a/sonar-application/src/main/java/org/sonar/application/DefaultSettings.java
+++ b/sonar-application/src/main/java/org/sonar/application/DefaultSettings.java
@@ -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, "");