triplestore: Memory Management

This commit is contained in:
Tom Wiesing 2022-01-12 11:55:59 +01:00
parent 28e42241bd
commit b9f50ba323
No known key found for this signature in database
GPG key ID: DC1F29F2BC78AB15
2 changed files with 4 additions and 4 deletions

View file

@ -60,5 +60,5 @@ VOLUME /opt/graphdb/work
VOLUME /opt/graphdb/logs VOLUME /opt/graphdb/logs
# setup command and entrypoint # setup command and entrypoint
CMD ["-Dgraphdb.home=/opt/graphdb -Ddefault.min.distinct.threshold=1G"] CMD ["-Dgraphdb.home=/opt/graphdb"]
ENTRYPOINT ["/bin/bash", "/entrypoint.sh"] ENTRYPOINT ["/bin/bash", "/entrypoint.sh"]

View file

@ -9,14 +9,14 @@ services:
- './data/data:/opt/graphdb/data' - './data/data:/opt/graphdb/data'
- './data/work:/opt/graphdb/work' - './data/work:/opt/graphdb/work'
- './data/logs:/opt/graphdb/logs' - './data/logs:/opt/graphdb/logs'
command: "\"-Dgraphdb.home=/opt/graphdb -Ddefault.min.distinct.threshold=1G\""
# Use 1GB of heap space # Use 1GB of heap space
environment: environment:
GDB_MAX_MEM: 4G GDB_HEAP_SIZE: 4G
GDB_MIN_MEM: 1G
restart: always restart: always
networks: networks:
default: default:
external: external:
name: distillery name: distillery