Github user mxm commented on a diff in the pull request:
https://github.com/apache/flink/pull/2177#discussion_r69124072
--- Diff: docs/setup/config.md ---
@@ -230,8 +240,8 @@ definition. This scheme is used **ONLY** if no other
scheme is specified (explic
## YARN
-- `yarn.heap-cutoff-ratio`: (Default 0.25) Percentage of heap space to
remove from containers started by YARN. When a user requests a certain amount
of memory for each TaskManager container (for example 4 GB), we can not pass
this amount as the maximum heap space for the JVM (`-Xmx` argument) because the
JVM is also allocating memory outside the heap. YARN is very strict with
killing containers which are using more memory than requested. Therefore, we
remove a 15% of the memory from the requested heap as a safety margin.
-- `yarn.heap-cutoff-min`: (Default 384 MB) Minimum amount of memory to cut
off the requested heap size.
+- `container.heap-cutoff-ratio`: (Default 0.25) Percentage of heap space
to remove from containers started by YARN. When a user requests a certain
amount of memory for each TaskManager container (for example 4 GB), we can not
pass this amount as the maximum heap space for the JVM (`-Xmx` argument)
because the JVM is also allocating memory outside the heap. YARN is very strict
with killing containers which are using more memory than requested. Therefore,
we remove a 15% of the memory from the requested heap as a safety margin.
--- End diff --
+1
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---