<?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 to estimate the Optimal Java Heap Size for Navigator Metadata Server when there is no nav_elements nor nav_relations? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-estimate-the-Optimal-Java-Heap-Size-for-Navigator/m-p/300858#M220402</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Production cluster and I get out of memory errors for&amp;nbsp;Navigator Metadata Server. This is generating large dump files (33GB last time) in /tmp. Since /tmp has only 50GB it get's full quite fast.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Errors:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;The health test result for NAVIGATORMETASERVER_UNEXPECTED_EXITS has become bad: This role encountered 1 unexpected exit(s) in the previous 5 minute(s).This included 1 exit(s) due to OutOfMemory errors. Critical threshold: any.



The health test result for NAVIGATORMETASERVER_DATA_DIRECTORY_FREE_SPACE has become unknown: Not enough data to test: Test of whether the Navigator Metadata Server Storage Dir has enough free space.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a formula to estimate the optimal&amp;nbsp;Java Heap Size for Navigator Metadata Server but the problem in my case is that in the&amp;nbsp;&lt;SPAN&gt;cloudera-scm-navigator log file there is no&amp;nbsp;&lt;EM&gt;nav_elements&lt;/EM&gt; nor &lt;EM&gt;nav_relations.&amp;nbsp;&lt;/EM&gt;Is there any way to estimate the optimal java heap size? Current value is set to 24GB.&lt;BR /&gt;&lt;BR /&gt;Formula:&amp;nbsp;&lt;EM&gt;((num_nav_elements + num_nav_relations) * 200 bytes) + 2 GB&amp;nbsp;&lt;/EM&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;A href="https://docs.cloudera.com/documentation/enterprise/latest/topics/cn_admcfg_nms_tuning.html#est-java-heap" target="_blank" rel="noopener"&gt;Link from Cloudera Docs&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Aug 2020 09:50:03 GMT</pubDate>
    <dc:creator>md186036</dc:creator>
    <dc:date>2020-08-04T09:50:03Z</dc:date>
  </channel>
</rss>

