Implications of taskmanager.memory.process.size

Posted by Vishal Santoshi on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Implications-of-taskmanager-memory-process-size-tp36503.html

Hello folks, 
                  As established https://ci.apache.org/projects/flink/flink-docs-stable/ops/config.html#memory-configuration , I set the taskmanager.memory.process.size and taskmanager.memory.task.off-heap.size in my flink-conf.yaml and I see the 2 properties being pulled in.

 - Loading configuration property: taskmanager.memory.process.size, 8000m

 - Loading configuration property: taskmanager.memory.task.off-heap.size, 1024m


I am not sure how the -Xmx and -Xms are calculated but I see 

Starting taskexecutor as a console application on host kafka-to-hdfs-taskmanager-dev-8597c78d9c-59dqw.

VM settings:

    Min. Heap Size: 2.27G

    Max. Heap Size: 2.27G

    Using VM: OpenJDK 64-Bit Server VM


What gives ? 

I am looking through the scripts and am not sure I see any calculations based on taskmanager.memory.process.size