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" +
#--------------------------------------------------------------------------------------------------
# ELASTICSEARCH
# Elasticsearch is used to facilitate fast and accurate information retrieval.
-# It is executed in a dedicated Java process. Default heap size is 2Gb.
+# It is executed in a dedicated Java process. Default heap size is 512m.
# JVM options of Elasticsearch process
-#sonar.search.javaOpts=-Xms1g \
-# -Xmx1g \
+#sonar.search.javaOpts=-Xms512m \
+# -Xmx512m \
# -XX:+UseConcMarkSweepGC \
# -XX:CMSInitiatingOccupancyFraction=75 \
# -XX:+UseCMSInitiatingOccupancyOnly \