<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Difference between DataNode JVM Heap Memory Used and Memory committed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Difference-between-DataNode-JVM-Heap-Memory-Used-and-Memory/m-p/129143#M91836</link>
    <description>&lt;P&gt;When using the heat map in Ambari we have a select metric for DataNode JVM Heap Memory Used and another metric for DataNode JVM Heap Memory Committed. What is the difference and why is this difference important to us?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2017 08:42:01 GMT</pubDate>
    <dc:creator>wdailey</dc:creator>
    <dc:date>2017-02-28T08:42:01Z</dc:date>
    <item>
      <title>Difference between DataNode JVM Heap Memory Used and Memory committed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Difference-between-DataNode-JVM-Heap-Memory-Used-and-Memory/m-p/129143#M91836</link>
      <description>&lt;P&gt;When using the heat map in Ambari we have a select metric for DataNode JVM Heap Memory Used and another metric for DataNode JVM Heap Memory Committed. What is the difference and why is this difference important to us?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 08:42:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Difference-between-DataNode-JVM-Heap-Memory-Used-and-Memory/m-p/129143#M91836</guid>
      <dc:creator>wdailey</dc:creator>
      <dc:date>2017-02-28T08:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between DataNode JVM Heap Memory Used and Memory committed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Difference-between-DataNode-JVM-Heap-Memory-Used-and-Memory/m-p/129144#M91837</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12096/wdailey.html" nodeid="12096"&gt;@Will Dailey&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;The JVM heap can be preconfigured  for memory boundaries – the initial heap size (defined by the &lt;CODE&gt;–Xms&lt;/CODE&gt; option) and the maximum heap size (defined by the &lt;CODE&gt;–Xmx&lt;/CODE&gt; option).&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Used memory&lt;/EM&gt; from the perspective of the JVM is &lt;EM&gt;Working set + Garbage.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;The &lt;EM&gt;Committed memory&lt;/EM&gt; is a measure of how much memory the JVM heap is really consuming. &lt;/P&gt;&lt;P&gt;If (&lt;CODE&gt;–Xms&lt;/CODE&gt;&lt;EM&gt;&amp;lt;&lt;/EM&gt;&lt;CODE&gt;-Xmx&lt;/CODE&gt;) and&lt;EM&gt; (Used memory == Current heap size)&lt;/EM&gt;, the JVM is likely to grow its heap after a full garbage collection. However if &lt;EM&gt;(&lt;/EM&gt;&lt;CODE&gt;–Xms&lt;/CODE&gt;&lt;EM&gt;or Current heap size ==&lt;/EM&gt;&lt;CODE&gt;-Xmx&lt;/CODE&gt;), either through heap growth or configuration, the heap cannot grow any further.&lt;/P&gt;&lt;P&gt;Both of these Values are important to debug datanode failure related Out of Memory, less PermGen Errors, GC errors.&lt;/P&gt;&lt;P&gt;Reference link : &lt;A href="https://pubs.vmware.com/vfabric52/index.jsp?topic=/com.vmware.vfabric.em4j.1.2/em4j/conf-heap-management.html"&gt;https://pubs.vmware.com/vfabric52/index.jsp?topic=/com.vmware.vfabric.em4j.1.2/em4j/conf-heap-management.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Mar 2017 07:36:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Difference-between-DataNode-JVM-Heap-Memory-Used-and-Memory/m-p/129144#M91837</guid>
      <dc:creator>yvora</dc:creator>
      <dc:date>2017-03-04T07:36:05Z</dc:date>
    </item>
  </channel>
</rss>

