Skip to content

Commit 8699250

Browse files
authored
Merge pull request #198 from TouK/designer-memory-tunning
Memory settings fix: specified memory off-heap memory components limits: Metaspace and DirectMemory, sum of memory components now is lower than container limit
2 parents 31565e4 + b851db9 commit 8699250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ services:
6969
SCHEMA_REGISTRY_URL: "http://schema-registry:8081"
7070
INFLUXDB_URL: "http://influxdb:8086"
7171
FLINK_REST_URL: "http://flink-jobmanager:8081"
72-
JDK_JAVA_OPTIONS: "-Xmx1024M"
72+
JDK_JAVA_OPTIONS: "-Xmx400M -XX:MaxMetaspaceSize=300M -XX:MaxDirectMemorySize=100M"
7373
USAGE_REPORTS_SOURCE: "quickstart-docker-compose"
7474
depends_on:
7575
postgres:

0 commit comments

Comments
 (0)