From 79c8c9f9b8fe74fee1f90c4670e8d5cc629ab239 Mon Sep 17 00:00:00 2001 From: Steve Hunt Date: Mon, 14 Nov 2016 10:27:47 +0000 Subject: [PATCH] Increase CMS threshold from 50% to 70% because the steady state old-gen heap usage settles around 60% so having the CMS threshold too low meant it runs continuously and never reduces the heap usage enough and so it runs again, chewing up CPU --- solr/bin/solr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/bin/solr b/solr/bin/solr index f9814c268287..b9bbaa9bca7b 100755 --- a/solr/bin/solr +++ b/solr/bin/solr @@ -1910,7 +1910,7 @@ function launch_solr() { '-XX:+CMSScavengeBeforeRemark' \ '-XX:PretenureSizeThreshold=64m' \ '-XX:+UseCMSInitiatingOccupancyOnly' \ - '-XX:CMSInitiatingOccupancyFraction=50' \ + '-XX:CMSInitiatingOccupancyFraction=70' \ '-XX:CMSMaxAbortablePrecleanTime=6000' \ '-XX:+CMSParallelRemarkEnabled' \ '-XX:+ParallelRefProcEnabled' \