<?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 How regionserver will utilize heap memory? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-regionserver-will-utilize-heap-memory/m-p/205816#M76602</link>
    <description>&lt;P&gt;When i was planning how many region split need to be done initially to increase performance, i was confused about how region server utilizing heap memory, i have 128 GB RAM and 16 GB java heap memory, i am running both datanode and region server in the same machine&lt;/P&gt;&lt;P&gt;can anyone tell me&lt;/P&gt;&lt;P&gt;* How region server will use heap and what are the parameters will occupy heap memory&lt;/P&gt;&lt;P&gt;* Is region server will use only 16 GB heap or even other space of RAM&lt;/P&gt;</description>
    <pubDate>Thu, 29 Mar 2018 11:20:15 GMT</pubDate>
    <dc:creator>karthiknedunche</dc:creator>
    <dc:date>2018-03-29T11:20:15Z</dc:date>
    <item>
      <title>How regionserver will utilize heap memory?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-regionserver-will-utilize-heap-memory/m-p/205816#M76602</link>
      <description>&lt;P&gt;When i was planning how many region split need to be done initially to increase performance, i was confused about how region server utilizing heap memory, i have 128 GB RAM and 16 GB java heap memory, i am running both datanode and region server in the same machine&lt;/P&gt;&lt;P&gt;can anyone tell me&lt;/P&gt;&lt;P&gt;* How region server will use heap and what are the parameters will occupy heap memory&lt;/P&gt;&lt;P&gt;* Is region server will use only 16 GB heap or even other space of RAM&lt;/P&gt;</description>
      <pubDate>Thu, 29 Mar 2018 11:20:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-regionserver-will-utilize-heap-memory/m-p/205816#M76602</guid>
      <dc:creator>karthiknedunche</dc:creator>
      <dc:date>2018-03-29T11:20:15Z</dc:date>
    </item>
    <item>
      <title>Re: How regionserver will utilize heap memory?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-regionserver-will-utilize-heap-memory/m-p/205817#M76603</link>
      <description>&lt;P&gt;----&amp;gt;How region server will use heap and what are the
parameters will occupy heap memory&lt;/P&gt;&lt;P&gt;Region server heap memory consumption is mainly dependent on
below three.&lt;/P&gt;&lt;P&gt;- Block cache (Buffer maintained in heap for read)&lt;/P&gt;&lt;P&gt;- Memstore Size (Buffer maintained in heap for write and
flush)&lt;/P&gt;&lt;P&gt;- Other Objects created within region server while during
various operations. &lt;/P&gt;&lt;P&gt;Below two are the parameter which controls the max % of heap
block cache and block cache consume.&lt;/P&gt;&lt;P&gt;hfile.block.cache.size&lt;/P&gt;&lt;P&gt;hbase.regionserver.global.memstore.size&lt;/P&gt;&lt;P&gt;=&amp;gt;Below links will help in understading region server
configuration for block cache/memstore and region server sizing.&lt;/P&gt;&lt;P&gt;&lt;A href="https://hbase.apache.org/book.html#perf.rs.memstore.size" target="_blank"&gt;https://hbase.apache.org/book.html#perf.rs.memstore.size&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://hbase.apache.org/book.html#ops.capacity.regions.count" target="_blank"&gt;https://hbase.apache.org/book.html#ops.capacity.regions.count&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://hbase.apache.org/book.html#block.cache.usage" target="_blank"&gt;https://hbase.apache.org/book.html#block.cache.usage&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-----&amp;gt; Is region server will use only 16 GB heap or even
other space of RAM&lt;/P&gt;&lt;P&gt;Region server will comsume maximum = 16GB of heap +
XX:MaxDirectMemorySize which you have configured.&lt;/P&gt;&lt;P&gt;MaxDirectMemorySize—The JVM has a kind of memory called
direct memory, which is distinct from normal JVM heap memory, that can run out.
You can increase the direct buffer memory either by increasing the maximum heap
size (see previous JVM Heap Size), which increases both the maximum heap and
the maximum direct memory, or by only increasing the maximum direct memory
using -XX:MaxDirectMemorySize. The following parameter added to the Java
application startup increases the maximum direct memory size to 256 megabytes:&lt;/P&gt;</description>
      <pubDate>Fri, 30 Mar 2018 19:21:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-regionserver-will-utilize-heap-memory/m-p/205817#M76603</guid>
      <dc:creator>schhabra1</dc:creator>
      <dc:date>2018-03-30T19:21:51Z</dc:date>
    </item>
  </channel>
</rss>

