Skip to content

Commit be98bd5

Browse files
jr-rkclaude
andauthored
UK/Make Solr heap tunable via SOLR_HEAP (default 4g, no behavior change) (#1329)
Backport of #1309 to customer/uk. Translate (not cherry-pick) the single Solr heap line against this branch's actual compose file: it launches Solr with -p 898${INSTANCE}, 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 64f918f commit be98bd5

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
@@ -150,7 +150,7 @@ services:
150150
cp -r -u /opt/solr/server/solr/configsets/dspace/search/* search
151151
precreate-core statistics /opt/solr/server/solr/configsets/dspace/statistics
152152
cp -r -u /opt/solr/server/solr/configsets/dspace/statistics/* statistics
153-
exec solr -p 898${INSTANCE} -f -m 4g
153+
exec solr -p 898${INSTANCE} -f -m "${SOLR_HEAP:-4g}"
154154
volumes:
155155
assetstore:
156156
pgdata:

0 commit comments

Comments
 (0)