[ https://issues.apache.org/jira/browse/YARN-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918729#comment-13918729 ]
Colin Patrick McCabe commented on YARN-1747: -------------------------------------------- My first thought here is to read /proc/<pid>/maps and look for the [stack] and [heap] sections, and just count those. There might be something I'm not considering, though. I wonder if there is ever a case where we'd want to charge an application for the page cache its use of a file takes up? > Better physical memory monitoring for containers > ------------------------------------------------ > > Key: YARN-1747 > URL: https://issues.apache.org/jira/browse/YARN-1747 > Project: Hadoop YARN > Issue Type: Improvement > Components: nodemanager > Affects Versions: 2.3.0 > Reporter: Karthik Kambatla > > YARN currently uses RSS to compute the physical memory being used by a > container. This can lead to issues, as noticed in HDFS-5957. -- This message was sent by Atlassian JIRA (v6.2#6252)