aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java
diff options
context:
space:
mode:
authorEric Hartmann <hartmann.eric@gmail.com>2017-08-17 20:26:23 +0200
committerEric Hartmann <hartmann.eric@gmail.com>2017-08-17 20:26:23 +0200
commitf98b26b3f33e0eb2788ca93a4b115585c527c737 (patch)
treeb881ecbb0a619ab597d9dd3b76a6888d2c66e3f6 /server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java
parentf37810ecfd835d0e8cb53f45aa9b2d3444fc004d (diff)
downloadsonarqube-f98b26b3f33e0eb2788ca93a4b115585c527c737.tar.gz
sonarqube-f98b26b3f33e0eb2788ca93a4b115585c527c737.zip
SONAR-8798 Update memory for Elasticsearch to 512m by default
Diffstat (limited to 'server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java')
-rw-r--r--server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java4
1 files changed, 2 insertions, 2 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 c2f61f644e9..63a8bc8fb17 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
@@ -121,8 +121,8 @@ public class ProcessProperties {
Properties defaults = new Properties();
defaults.put(SEARCH_HOST, InetAddress.getLoopbackAddress().getHostAddress());
defaults.put(SEARCH_PORT, "9001");
- defaults.put(SEARCH_JAVA_OPTS, "-Xms1g" +
- " -Xmx1g" +
+ defaults.put(SEARCH_JAVA_OPTS, "-Xms512m" +
+ " -Xmx512m" +
" -XX:+UseConcMarkSweepGC" +
" -XX:CMSInitiatingOccupancyFraction=75" +
" -XX:+UseCMSInitiatingOccupancyOnly" +