Namenode GUI does not show actual memory usage
----------------------------------------------

                 Key: HADOOP-6071
                 URL: https://issues.apache.org/jira/browse/HADOOP-6071
             Project: Hadoop Core
          Issue Type: Improvement
          Components: dfs
    Affects Versions: 0.18.3
            Reporter: Qi Liu
            Priority: Minor


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to