Re: Question about the flink 1.6 memory config

2020-03-31 Thread Xintong Song
The container cut-off accounts for not only metaspace, but also native memory footprint such as thread stack, code cache, compressed class space. If you run streaming jobs with rocksdb state backend, it also accounts for the rocksdb memory usage. The consequence of less cut-off depends on your env

Question about the flink 1.6 memory config

2020-03-31 Thread LakeShen
Hi community, Now I am optimizing the flink 1.6 task memory configuration. I see the source code, at first, the flink task config the cut-off memory, cut-off memory = Math.max(600,containerized.heap-cutoff-ratio * TaskManager Memory), containerized.heap-cutoff-ratio default value is 0.25. For exa