hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John George (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HDFS-307) Namenode GUI does not show actual memory usage
Date Fri, 04 Mar 2011 22:14:46 GMT

    [ https://issues.apache.org/jira/browse/HDFS-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13002842#comment-13002842

John George commented on HDFS-307:

A couple of questions came up:
1. Is the "Heap Memory used" still necessary?
2. Should the name "Heap Memory really used" be changed to something more clear like "Heap
Memory Active"?

> Namenode GUI does not show actual memory usage
> ----------------------------------------------
>                 Key: HDFS-307
>                 URL: https://issues.apache.org/jira/browse/HDFS-307
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Qi Liu
>            Assignee: John George
>            Priority: Minor
>         Attachments: a.patch
> In the namenode GUI, the showed memory usage is not the actual memory usage. Instead,
it is the memory currently allocated to Java (Runtime.totalMemory()). That's why we see most
of the time, the memory usage is 100%. This is a concern for operation, since this is the
only page we can monitor the memory usage of a name node. Showing 100% makes the wrong impression
that there is a memory leak in name node, and the name node needs to be restarted.
> The current value should show would be Runtime.totalMemory() - Runtime.freeMemory().

This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message