Nico Kruber created FLINK-7401:

             Summary: EnvironmentInformation.getMaxJvmHeapMemory does not 
return the value given via -Xmx
                 Key: FLINK-7401
             Project: Flink
          Issue Type: Bug
          Components: Local Runtime
    Affects Versions: 1.3.2, 1.3.1, 1.2.1, 1.3.0, 1.1.4, 1.1.3, 1.1.2, 1.1.1, 
1.2.0, 1.1.0, 1.4.0
            Reporter: Nico Kruber
            Assignee: Nico Kruber

{{EnvironmentInformation.getMaxJvmHeapMemory}} is intended to return the value 
given to the JVM via {{-Xmx}} but it actually returns something a bit smaller 
which may disturb memory calculations expecting the right value.

For now, this is a "good" bug as the calculations inside 
{{TaskManagerServices#calculateNetworkBufferMemory()}}, for example, lead to 
lower values for the network buffers or the manages memory fractions which thus 
still fit into the bounds set by the JVM options.

This message was sent by Atlassian JIRA

Reply via email to