Skip to content

Commit fea142f

Browse files
jr-rkclaude
andauthored
SAV/Make Solr heap tunable via SOLR_HEAP (default 4g, no behavior change) (#1328)
Backport of #1309 to customer/sav. Translate (not cherry-pick) the single Solr heap line against this branch's actual compose file: it launches Solr with no -p flag (default port), 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 31b5313 commit fea142f

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
@@ -172,7 +172,7 @@ services:
172172
cp -r /opt/solr/server/solr/configsets/search/* search
173173
precreate-core statistics /opt/solr/server/solr/configsets/statistics
174174
cp -r /opt/solr/server/solr/configsets/statistics/* statistics
175-
exec solr -f -m 4g
175+
exec solr -f -m "${SOLR_HEAP:-4g}"
176176
volumes:
177177
# Commented out because there are a lot of files in the assetstore
178178
assetstore:

0 commit comments

Comments
 (0)