[
https://issues.apache.org/jira/browse/AMBARI-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13633273#comment-13633273
]
Yusaku Sako commented on AMBARI-1946:
-------------------------------------
Committed to trunk. Thanks Jeff!
> Heatmap memory should not include cached memory as part of "used"
> -----------------------------------------------------------------
>
> Key: AMBARI-1946
> URL: https://issues.apache.org/jira/browse/AMBARI-1946
> Project: Ambari
> Issue Type: Bug
> Components: client
> Affects Versions: 1.2.2
> Reporter: Jeff Sposetti
> Assignee: Jeff Sposetti
> Fix For: 1.3.0
>
> Attachments: AMBARI-1946.patch
>
>
> The "Memory Used %" is currently calculated using the formula:
> (mem_total - mem_free)/mem_total
> Although this is accurate, the total includes mem_cached (file system cache),
> which the kernal can take back whenever it wants to.
> Therefore, formula can be doing this instead to treat cache as free:
> (mem_total - mem_free - mem_cached)/mem_total
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira