Skip to content

Commit ed73ff7

Browse files
jr-rkclaude
andcommitted
Make Solr heap tunable via SOLR_HEAP (default 4g, no behavior change)
Backport of #1309 to customer/lindat. Translate (not cherry-pick) the single Solr heap line against this branch's actual compose file: it launches Solr with -p 8983, so only the -m 4g argument is changed to -m "${SOLR_HEAP:-4g}". With SOLR_HEAP unset the 4g default is preserved; AlwaysPreTouch no longer forces the full 4g commit when a smaller heap is set. Refs dataquest-dev/dspace-customers#746 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent f6e9309 commit ed73ff7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/docker-compose-rest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ services:
175175
cp -r /opt/solr/server/solr/configsets/search/* search
176176
precreate-core statistics /opt/solr/server/solr/configsets/statistics
177177
cp -r /opt/solr/server/solr/configsets/statistics/* statistics
178-
exec solr -p 8983 -f -m 4g
178+
exec solr -p 8983 -f -m "${SOLR_HEAP:-4g}"
179179
volumes:
180180
# Commented out because there are a lot of files in the assetstore
181181
assetstore:

0 commit comments

Comments
 (0)