<?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: Where to update memory attributes for NIFI (Xms and Xmx)? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Where-to-update-memory-attributes-for-NIFI-Xms-and-Xmx/m-p/284792#M211435</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/14538"&gt;@GKrishan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You want to be very careful when setting safety valve in CM to override existing default property values in NiFi files.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/55327"&gt;@wengelbrecht&lt;/a&gt;&amp;nbsp;screenshot shows creating a safety valve that would override "java.arg.2" in the NiFi bootstrap.conf file with a new value of "Xmx1024m".&amp;nbsp; The problem here is that "java.arg.2" is used to set Xms while "java.arg.3" is used to set Xmx.&amp;nbsp; So you would end up with two properties defining Xmx and missing the property for Xms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example setting override safety valves in CM for both Xms and Xmx:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-12-04 at 10.34.13 AM.png" style="width: 624px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25612i9AC6306AFEB3E0FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-12-04 at 10.34.13 AM.png" alt="Screen Shot 2019-12-04 at 10.34.13 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Matt&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2019 15:34:53 GMT</pubDate>
    <dc:creator>MattWho</dc:creator>
    <dc:date>2019-12-04T15:34:53Z</dc:date>
    <item>
      <title>Where to update memory attributes for NIFI (Xms and Xmx)?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-to-update-memory-attributes-for-NIFI-Xms-and-Xmx/m-p/283870#M210856</link>
      <description>&lt;P&gt;Installed CFM (Nifi) on Cloudera 6.2 using parcels. I see default 512 M being allocated for Heap size and want to increase it. I did not see nifi.properties file where I could do the same...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any guidance would be appreciated..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 11:34:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-to-update-memory-attributes-for-NIFI-Xms-and-Xmx/m-p/283870#M210856</guid>
      <dc:creator>GKrishan</dc:creator>
      <dc:date>2026-04-21T11:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Where to update memory attributes for NIFI (Xms and Xmx)?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-to-update-memory-attributes-for-NIFI-Xms-and-Xmx/m-p/284053#M210985</link>
      <description>&lt;P&gt;In CM, the bootstrap file is auto generated when you start NiFi, so it is not really something you can edit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However you can set the same parameters through name=value pairs as Java args in CM:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="nifi.JPG" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25482i8381D2E48EADC855/image-size/large?v=v2&amp;amp;px=999" role="button" title="nifi.JPG" alt="nifi.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2019 12:09:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-to-update-memory-attributes-for-NIFI-Xms-and-Xmx/m-p/284053#M210985</guid>
      <dc:creator>wengelbrecht</dc:creator>
      <dc:date>2019-11-26T12:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Where to update memory attributes for NIFI (Xms and Xmx)?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-to-update-memory-attributes-for-NIFI-Xms-and-Xmx/m-p/284792#M211435</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/14538"&gt;@GKrishan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You want to be very careful when setting safety valve in CM to override existing default property values in NiFi files.&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/55327"&gt;@wengelbrecht&lt;/a&gt;&amp;nbsp;screenshot shows creating a safety valve that would override "java.arg.2" in the NiFi bootstrap.conf file with a new value of "Xmx1024m".&amp;nbsp; The problem here is that "java.arg.2" is used to set Xms while "java.arg.3" is used to set Xmx.&amp;nbsp; So you would end up with two properties defining Xmx and missing the property for Xms.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is an example setting override safety valves in CM for both Xms and Xmx:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-12-04 at 10.34.13 AM.png" style="width: 624px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/25612i9AC6306AFEB3E0FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-12-04 at 10.34.13 AM.png" alt="Screen Shot 2019-12-04 at 10.34.13 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Matt&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2019 15:34:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-to-update-memory-attributes-for-NIFI-Xms-and-Xmx/m-p/284792#M211435</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-12-04T15:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Where to update memory attributes for NIFI (Xms and Xmx)?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-to-update-memory-attributes-for-NIFI-Xms-and-Xmx/m-p/285738#M212004</link>
      <description>&lt;P&gt;Thanks for helping out .. It worked.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 22:24:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-to-update-memory-attributes-for-NIFI-Xms-and-Xmx/m-p/285738#M212004</guid>
      <dc:creator>GKrishan</dc:creator>
      <dc:date>2019-12-16T22:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Where to update memory attributes for NIFI (Xms and Xmx)?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Where-to-update-memory-attributes-for-NIFI-Xms-and-Xmx/m-p/385667#M245787</link>
      <description>&lt;P&gt;Can we set these properties from kubernetes config yaml?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 09:33:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Where-to-update-memory-attributes-for-NIFI-Xms-and-Xmx/m-p/385667#M245787</guid>
      <dc:creator>manishg</dc:creator>
      <dc:date>2024-03-28T09:33:04Z</dc:date>
    </item>
  </channel>
</rss>

