flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-7688) ContaineredTaskManagerParameters sets off heap memory size incorrectly unlimited
Date Tue, 26 Sep 2017 01:13:01 GMT
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)

Mime
View raw message