You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2020/08/21 16:47:00 UTC

[jira] [Assigned] (FLINK-18993) Invoke sanityCheckTotalFlinkMemory method incorrectly in JobManagerFlinkMemoryUtils.java

     [ https://issues.apache.org/jira/browse/FLINK-18993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Till Rohrmann reassigned FLINK-18993:
-------------------------------------

    Assignee: Peng

> Invoke sanityCheckTotalFlinkMemory method incorrectly in JobManagerFlinkMemoryUtils.java
> ----------------------------------------------------------------------------------------
>
>                 Key: FLINK-18993
>                 URL: https://issues.apache.org/jira/browse/FLINK-18993
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Configuration
>    Affects Versions: 1.11.0
>            Reporter: Peng
>            Assignee: Peng
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 1.12.0, 1.11.2
>
>
> In deriveFromRequiredFineGrainedOptions method from JobManagerFlinkMemoryUtils.java, it will call sanityCheckTotalFlinkMemory method to check heap, off-heap and total memory as below.
> {code:java}
> sanityCheckTotalFlinkMemory(totalFlinkMemorySize, jvmHeapMemorySize, totalFlinkMemorySize);
> {code}
> As I understand it, the third argument should be {color:#de350b}*offHeapMemorySize.*{color}
> {code:java}
> sanityCheckTotalFlinkMemory(totalFlinkMemorySize, jvmHeapMemorySize, offHeapMemorySize);
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)