Skip to content

Commit 051adab

Browse files
internal/increase-server-memory-limit (DSpace#411)
* Update docker-compose-rest.yml Increase memory limit to 4GB * Load JAVA_OPTS from the .env file.
1 parent 4e6c290 commit 051adab

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docker/docker-compose-rest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ services:
1919
restart: unless-stopped
2020
container_name: dspace${INSTANCE}
2121
environment:
22+
JAVA_OPTS: ${JAVA_OPTS:--Xmx4g}
2223
TZ: ${TIMEZONE:-Europe/Bratislava}
2324
# Below syntax may look odd, but it is how to override dspace.cfg settings via env variables.
2425
# See https://github.com/DSpace/DSpace/blob/main/dspace/config/config-definition.xml

0 commit comments

Comments
 (0)