Merge pull request #154 from samply/refactor/blazePerformanceTuning

Optimize memory usage of Blaze
This commit is contained in:
Torben Brenner
2024-03-15 09:55:34 +01:00
committed by GitHub
4 changed files with 29 additions and 3 deletions

View File

@ -6,7 +6,9 @@ services:
container_name: bridgehead-ccp-blaze
environment:
BASE_URL: "http://bridgehead-ccp-blaze:8080"
JAVA_TOOL_OPTIONS: "-Xmx4g"
JAVA_TOOL_OPTIONS: "-Xmx${BLAZE_MEMORY_CAP:-4096}m"
DB_RESOURCE_CACHE_SIZE: ${BLAZE_RESOURCE_CACHE_CAP:-2500000}
DB_BLOCK_CACHE_SIZE: $BLAZE_MEMORY_CAP
ENFORCE_REFERENTIAL_INTEGRITY: "false"
volumes:
- "blaze-data:/app/data"