triplestore: Memory Management
This commit is contained in:
parent
28e42241bd
commit
b9f50ba323
2 changed files with 4 additions and 4 deletions
|
|
@ -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"]
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue