Commit 57602d3
MENDELU/feat(docker): make Solr heap tunable via SOLR_HEAP on 9.x (#1346)
DSpace 9.x launches Solr with `runuser -u solr -- solr-foreground` and no
`-m` flag, so the heap was pinned to the image default (512m) with no runtime
knob. Forward SOLR_HEAP through runuser so the solr user's environment carries
it into solr-foreground, which honours it natively.
Default is 4g when SOLR_HEAP is unset, aligning 9.x with the 7.x fleet and
source PR #1309. Deliberate default change on 9.x
(512m -> 4g). Set SOLR_HEAP in .env to override (e.g. SOLR_HEAP=1g).
New feature carved out of the 9.x N/A branches in
dataquest-dev/dspace-customers#746.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 85c8004 commit 57602d3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
0 commit comments