Skip to content

Commit

Permalink
Increase CMS threshold from 50% to 70% because the steady state old-g…
Browse files Browse the repository at this point in the history
…en 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
  • Loading branch information
brandwatchsteve committed Mar 5, 2018
1 parent b2b6438 commit 79c8c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solr/bin/solr
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
Expand Down

0 comments on commit 79c8c9f

Please sign in to comment.