[ https://issues.apache.org/jira/browse/FLINK-18993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann closed FLINK-18993. --------------------------------- Resolution: Fixed Fixed via master: df525b77d29ccd89649a64e5faad96c93f61ca08 1.11.2: 5e9bd610f3f1cb62e00c7baf1f02409c2d017c05 > 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)