Details
-
Sub-task
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
None
Description
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.
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.");