<?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: JVM memory settings - Bootstrap.conf reset config in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JVM-memory-settings-Bootstrap-conf-reset-config/m-p/213484#M78992</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/83213/yjabbary.html" nodeid="83213"&gt;@yazeed salem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you will make changed in the script/conf files manually then upon every restart of Nifi (via Ambari UI/API call) the content of the file will be overwritten.&lt;BR /&gt;&lt;BR /&gt;So can check the template here and should make changes from Ambari UI like.&lt;/P&gt;&lt;PRE&gt;Ambari UI --&amp;gt; Nifi --&amp;gt; Configs --&amp;gt; Advanced --&amp;gt; "Advanced nifi-bootstrap-env" --&amp;gt; "Template for bootstrap.conf"
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Try changing the template snippet as following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# JVM memory settings
java.arg.2=-Xms{{nifi_initial_mem}}
java.arg.3=-Xmx{{nifi_max_mem}}&lt;/PRE&gt;&lt;P&gt;To&lt;/P&gt;&lt;PRE&gt;# JVM memory settings
java.arg.2=-Xms1G
java.arg.3=-Xmx1G&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Then restart NiFi&lt;/P&gt;</description>
    <pubDate>Thu, 31 May 2018 21:18:05 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-05-31T21:18:05Z</dc:date>
    <item>
      <title>JVM memory settings - Bootstrap.conf reset config</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JVM-memory-settings-Bootstrap-conf-reset-config/m-p/213483#M78991</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I downloaded HDF 3.1 and i get NIFI java.lang.OutOfMemoryError: Java heap space after running my custom processor,&lt;/P&gt;&lt;P&gt;I changed the default JVM memory in Bootstrap.conf from -Xms512m -Xmx512m to -Xms1g -Xmx1g and i restarted NiFi to take the new values but when i check Bootstrap.conf after restarting NiFi it reset the values to -Xms512m -Xmx512m. why it reset the values to the old values and it didn't take the new values.&lt;/P&gt;&lt;P&gt;Your help is highly appreciated.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 12:17:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JVM-memory-settings-Bootstrap-conf-reset-config/m-p/213483#M78991</guid>
      <dc:creator>yjabbary</dc:creator>
      <dc:date>2026-04-21T12:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: JVM memory settings - Bootstrap.conf reset config</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JVM-memory-settings-Bootstrap-conf-reset-config/m-p/213484#M78992</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/83213/yjabbary.html" nodeid="83213"&gt;@yazeed salem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;If you will make changed in the script/conf files manually then upon every restart of Nifi (via Ambari UI/API call) the content of the file will be overwritten.&lt;BR /&gt;&lt;BR /&gt;So can check the template here and should make changes from Ambari UI like.&lt;/P&gt;&lt;PRE&gt;Ambari UI --&amp;gt; Nifi --&amp;gt; Configs --&amp;gt; Advanced --&amp;gt; "Advanced nifi-bootstrap-env" --&amp;gt; "Template for bootstrap.conf"
&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Try changing the template snippet as following:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;From:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;# JVM memory settings
java.arg.2=-Xms{{nifi_initial_mem}}
java.arg.3=-Xmx{{nifi_max_mem}}&lt;/PRE&gt;&lt;P&gt;To&lt;/P&gt;&lt;PRE&gt;# JVM memory settings
java.arg.2=-Xms1G
java.arg.3=-Xmx1G&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Then restart NiFi&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 21:18:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JVM-memory-settings-Bootstrap-conf-reset-config/m-p/213484#M78992</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-05-31T21:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: JVM memory settings - Bootstrap.conf reset config</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/JVM-memory-settings-Bootstrap-conf-reset-config/m-p/213485#M78993</link>
      <description>&lt;P&gt;Excellent. it works.&lt;/P&gt;&lt;P&gt;Thanks Mr. Jay &lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 14:49:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/JVM-memory-settings-Bootstrap-conf-reset-config/m-p/213485#M78993</guid>
      <dc:creator>yjabbary</dc:creator>
      <dc:date>2018-06-04T14:49:48Z</dc:date>
    </item>
  </channel>
</rss>

