From f98b26b3f33e0eb2788ca93a4b115585c527c737 Mon Sep 17 00:00:00 2001 From: Eric Hartmann Date: Thu, 17 Aug 2017 20:26:23 +0200 Subject: SONAR-8798 Update memory for Elasticsearch to 512m by default --- .../src/main/java/org/sonar/process/ProcessProperties.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/sonar-process/src/main/java/org/sonar/process/ProcessProperties.java') 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" + -- cgit v1.2.3