Details
-
Bug
-
Status: Open
-
Not a Priority
-
Resolution: Unresolved
-
1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.3.2, 1.4.0
-
None
Description
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.
Attachments
Issue Links
- is related to
-
FLINK-5973 check whether the direct memory size is always correctly calculated
- Reopened
- links to