[ https://issues.apache.org/jira/browse/FLINK-18993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-18993: ----------------------------------- Labels: pull-request-available (was: ) > 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 > Priority: Critical > Labels: pull-request-available > > 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)