File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11services :
2- solr :
2+ nameres_solr :
33 container_name : nameres_solr
44 image : solr:9.1
5+ mem_limit : 18G
56 environment :
67 # Change this setting to control how much memory you would like your Solr setup to have.
78 # Note that your Docker will need to be configured to allow this amount of memory.
8- SOLR_JAVA_MEM : ' -Xms25G -Xmx25G '
9+ SOLR_JAVA_MEM : ' -Xmx16G '
910 ports :
1011 - ' 8983:8983'
1112 command : ['-DzkRun']
Original file line number Diff line number Diff line change @@ -31,6 +31,10 @@ instance or from Translator.
3131 * By default, the Docker Compose file will use the latest released version of NameRes
3232 as the frontend. To use the source code in this repository, you will need to change
3333 the build instructions for the ` nameres ` service in the Docker Compose file.
34+ * By default, Solr will be given 16G of memory, which seems sufficient for testing.
35+ If you want to run many Solr queries, you might want to increase this. To do this,
36+ you will need to change BOTH the ` mem_limit ` setting in the ` nameres_solr ` service in
37+ ` docker-compose.yml ` and the ` SOLR_JAVA_MEM ` setting.
34386 . Start the Solr and NameRes pods by running ` docker compose up ` . By default, Docker Compose
3539 will download and start the relevant pods and show you logs from both sources. You may
3640 press ` Ctrl+C ` to stop the pods.
You can’t perform that action at this time.
0 commit comments