Yang Wang created FLINK-15288:
---------------------------------

             Summary: Starting jobmanager pod should respect 
containerized.heap-cutoff
                 Key: FLINK-15288
                 URL: https://issues.apache.org/jira/browse/FLINK-15288
             Project: Flink
          Issue Type: Sub-task
            Reporter: Yang Wang


Starting jobmanager pod should respect containerized.heap-cutoff. The cutoff 
will be used to leave some memory for jvm off-heap, for example meta space, 
thread native memory and etc.

 
{code:java}
public static final ConfigOption<Float> CONTAINERIZED_HEAP_CUTOFF_RATIO = 
ConfigOptions
 .key("containerized.heap-cutoff-ratio")
 .defaultValue(0.25f)
 .withDeprecatedKeys("yarn.heap-cutoff-ratio")
 .withDescription("Percentage of heap space to remove from containers (YARN / 
Mesos / Kubernetes), to compensate" +
  " for other JVM memory usage.");
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to