Created
June 11, 2019 03:29
-
-
Save mballoni/6f21f04ecc99c848b6078ca7f84a173b to your computer and use it in GitHub Desktop.
Solr java 11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -p 8983:8983 --cpus=2 -v "$PWD/solr.in.sh:/opt/solr/bin/solr.in.sh" -m=1G solr:7.7.2-slim | |
SOLR_JAVA_MEM="-XX:+UseContainerSupport -XX:MaxRAMPercentage=90 -XX:MinRAMPercentage=90" | |
GC_TUNE="-XX:+UseG1GC -XX:MaxGCPauseMillis=250 -XX:+ParallelRefProcEnabled" | |
https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.3.0/using-ambari-core-services/content/amb_tuning_gc_settings_for_solr.html | |
https://dzone.com/articles/apache-solr-memory-tuning-for-production |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment