Bill Liu created FLINK-7688:
-------------------------------
Summary: ContaineredTaskManagerParameters sets off heap memory size incorrectly unlimited
Key: FLINK-7688
URL:
https://issues.apache.org/jira/browse/FLINK-7688 Project: Flink
Issue Type: Bug
Components: YARN
Reporter: Bill Liu
When taskmanager.memory.off-heap is disabled,
the heap size is set to the jvm size,
which makes the off heap size to be -1 (unlimited). As a result YARN occasionally kills the container.
{code:java}
final long offHeapSize = javaMemorySizeMB == heapSizeMB ? -1L : javaMemorySizeMB - heapSizeMB;
{code}
It'e better set a limit for direct memory no matter off-heap enabled or not.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)