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

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

Peng created FLINK-18993:
----------------------------

             Summary: 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


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)