[
https://issues.apache.org/jira/browse/FLINK-7688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Till Rohrmann closed FLINK-7688.
--------------------------------
Resolution: Abandoned
Closing because the issue has been abandoned.
> 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: Deployment / YARN
> Reporter: Bill Liu
> Priority: Major
>
> 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
(v8.3.4#803005)