[ https://issues.apache.org/jira/browse/FLINK-6217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15948128#comment-15948128 ]
ASF GitHub Bot commented on FLINK-6217: --------------------------------------- GitHub user haohui opened a pull request: https://github.com/apache/flink/pull/3648 [FLINK-6217] ContaineredTaskManagerParameters sets off-heap memory size incorrectly You can merge this pull request into a Git repository by running: $ git pull https://github.com/haohui/flink FLINK-6217 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/3648.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3648 ---- commit 6da863509775d6f371acdecd706db5f3a7181bf2 Author: Haohui Mai <whe...@apache.org> Date: 2017-03-29T23:57:52Z [FLINK-6217] ContaineredTaskManagerParameters sets off-heap memory size incorrectly. ---- > ContaineredTaskManagerParameters sets off heap memory size incorrectly > ---------------------------------------------------------------------- > > Key: FLINK-6217 > URL: https://issues.apache.org/jira/browse/FLINK-6217 > Project: Flink > Issue Type: Bug > Reporter: Haohui Mai > Assignee: Haohui Mai > > Thanks [~bill.liu8904] for triaging the issue. > When {{taskmanager.memory.off-heap}} is disabled, we observed that the total > memory that Flink allocates exceed the total memory of the container: > For a 8G container the JobManager starts the container with the following > parameter: > {noformat} > $JAVA_HOME/bin/java -Xms6072m -Xmx6072m -XX:MaxDirectMemorySize=6072m ... > {noformat} > The total amount of heap memory plus the off-heap memory exceeds the total > amount of memory of the container. As a result YARN occasionally kills the > container. -- This message was sent by Atlassian JIRA (v6.3.15#6346)