Skip to content

Commit 5424662

Browse files
jr-rkclaude
andauthored
ZCU-PUB/Make Solr heap tunable via SOLR_HEAP (default 4g, no behavior change) (#1325)
Backport of #1309 to customer/zcu-pub. Translate (not cherry-pick) the single Solr heap line against this branch's actual compose file: the launch uses -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 43562d8 commit 5424662

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
@@ -161,7 +161,7 @@ services:
161161
cp -r -u /opt/solr/server/solr/configsets/dspace/search/* search
162162
precreate-core statistics /opt/solr/server/solr/configsets/dspace/statistics
163163
cp -r -u /opt/solr/server/solr/configsets/dspace/statistics/* statistics
164-
exec solr -p 898${INSTANCE} -f -m 4g
164+
exec solr -p 898${INSTANCE} -f -m "${SOLR_HEAP:-4g}"
165165
volumes:
166166
assetstore:
167167
pgdata:

0 commit comments

Comments
 (0)