You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Roman Khlebnov (JIRA)" <ji...@apache.org> on 2018/04/25 07:18:00 UTC
[jira] [Commented] (FLINK-7688) ContaineredTaskManagerParameters
sets off heap memory size incorrectly unlimited
[ https://issues.apache.org/jira/browse/FLINK-7688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16451759#comment-16451759 ]
Roman Khlebnov commented on FLINK-7688:
---------------------------------------
[~bill.liu8904] hi, probably this problem was already fixed a quite time ago in [1854a3d|https://github.com/apache/flink/commit/1854a3de19a8f73a49e3c1d9438d61b5e4c6a452] commit, can you confirm that your issue was fixed there?
> 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
> 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
(v7.6.3#76005)