Skip to content

Instantly share code, notes, and snippets.

@mballoni
Created June 11, 2019 03:29
Show Gist options
  • Save mballoni/6f21f04ecc99c848b6078ca7f84a173b to your computer and use it in GitHub Desktop.
Save mballoni/6f21f04ecc99c848b6078ca7f84a173b to your computer and use it in GitHub Desktop.
Solr java 11
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