<?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 Re: Impala Catalogue Server OOM in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Impala-Catalogue-Server-OOM/m-p/323031#M228999</link>
    <description>&lt;P&gt;There is a calculation in&amp;nbsp;&lt;A href="https://blog.cloudera.com/wp-content/uploads/2019/08/Impala-Cookbook-01-20173.pdf" target="_self"&gt;The Impala Cookbook&lt;/A&gt;&amp;nbsp;to estimate the heap memory usage for metadata:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="page"&gt;&lt;DIV class="section"&gt;&lt;DIV class="layoutArea"&gt;&lt;DIV class="column"&gt;&lt;P&gt;&lt;SPAN&gt;• num of tables * 5KB + num of partitions * 2KB + num of files * 750B + num of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;file blocks * 300B + sum(incremental col stats per table) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;• &lt;/SPAN&gt;&lt;SPAN&gt;Incremental stats&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;For each table, num columns * num partitions * 400B&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Usually, the insufficient catalog heap memory is caused by a large number of small files or/and&amp;nbsp;partitions. For example, a single 512MB file needs (750B + 4 * 3 * 300B) = 4350B. But if we split this file to 128 4MB files, these files will use (128 * 750B + 128 * 3 * 300B) =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;211200B, nearly 50 times!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 24 Aug 2021 00:48:23 GMT</pubDate>
    <dc:creator>robbiez</dc:creator>
    <dc:date>2021-08-24T00:48:23Z</dc:date>
    <item>
      <title>Impala Catalogue Server OOM</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-Catalogue-Server-OOM/m-p/322811#M228935</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We are observing our Impala Catalogue Server’s process frequently gets exited / killed (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.)&lt;/P&gt;&lt;P&gt;I was going through this article (&lt;A href="https://community.cloudera.com/t5/Support-Questions/Cloudera-6-2-1-Impala-GC-Overhead-limit-Exceeded/td-p/293225" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/Cloudera-6-2-1-Impala-GC-Overhead-limit-Exceeded/td-p/293225&lt;/A&gt;) it seems to be Heap Memory related, would like to know if there is any way / calculations to find how much Heap should be allocated to avoid these issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CM / CDH 5.16.2&lt;/P&gt;&lt;P&gt;Java Heap Size of Catalog Server in Bytes = 15Gb&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Appreciate any guidance in this regard.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:43:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-Catalogue-Server-OOM/m-p/322811#M228935</guid>
      <dc:creator>Amn_468</dc:creator>
      <dc:date>2022-09-16T14:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Impala Catalogue Server OOM</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-Catalogue-Server-OOM/m-p/323031#M228999</link>
      <description>&lt;P&gt;There is a calculation in&amp;nbsp;&lt;A href="https://blog.cloudera.com/wp-content/uploads/2019/08/Impala-Cookbook-01-20173.pdf" target="_self"&gt;The Impala Cookbook&lt;/A&gt;&amp;nbsp;to estimate the heap memory usage for metadata:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="page"&gt;&lt;DIV class="section"&gt;&lt;DIV class="layoutArea"&gt;&lt;DIV class="column"&gt;&lt;P&gt;&lt;SPAN&gt;• num of tables * 5KB + num of partitions * 2KB + num of files * 750B + num of&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;file blocks * 300B + sum(incremental col stats per table) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;• &lt;/SPAN&gt;&lt;SPAN&gt;Incremental stats&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;For each table, num columns * num partitions * 400B&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Usually, the insufficient catalog heap memory is caused by a large number of small files or/and&amp;nbsp;partitions. For example, a single 512MB file needs (750B + 4 * 3 * 300B) = 4350B. But if we split this file to 128 4MB files, these files will use (128 * 750B + 128 * 3 * 300B) =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;211200B, nearly 50 times!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 Aug 2021 00:48:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-Catalogue-Server-OOM/m-p/323031#M228999</guid>
      <dc:creator>robbiez</dc:creator>
      <dc:date>2021-08-24T00:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Impala Catalogue Server OOM</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-Catalogue-Server-OOM/m-p/323033#M229001</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/32334"&gt;@Amn_468&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer the below Knowledge base article for heap memory&amp;nbsp;&lt;SPAN&gt;calculation.&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://my.cloudera.com/knowledge/Impaladembeddedjvmheapsize-has-a-default-value-of-32-GB-after?id=278279" target="_blank" rel="noopener"&gt;https://lighthouse.cloudera.com/s/article/Impaladembeddedjvmheapsize-has-a-default-value-of-32-GB-after-upgrading-to-CDH-516https://my.cloudera.com/knowledge/Impaladembeddedjvmheapsize-has-a-default-value-of-32-GB-after?id=278279&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 13:50:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-Catalogue-Server-OOM/m-p/323033#M229001</guid>
      <dc:creator>balajip</dc:creator>
      <dc:date>2025-09-09T13:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Impala Catalogue Server OOM</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Impala-Catalogue-Server-OOM/m-p/323169#M229041</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/32334"&gt;@Amn_468&lt;/a&gt;&amp;nbsp;Has any of the replies helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2021 04:34:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Impala-Catalogue-Server-OOM/m-p/323169#M229041</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2021-08-26T04:34:37Z</dc:date>
    </item>
  </channel>
</rss>

