<?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 jvm settings from bootstrap.conf vs from outside in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/jvm-settings-from-bootstrap-conf-vs-from-outside/m-p/387076#M246242</link>
    <description>&lt;P&gt;For nifi, we have jvm options in bootstrap.conf:&lt;/P&gt;&lt;PRE&gt;java.arg.2=-Xms512m
java.arg.3=-Xmx512m&lt;/PRE&gt;&lt;P&gt;Then we also have env variables(got to know on google search,not from official documentation) that can be set from outside(like from kubernetes config yaml):&lt;/P&gt;&lt;PRE&gt;NIFI_JVM_HEAP_INIT
NIFI_JVM_HEAP_MAX&lt;/PRE&gt;&lt;P&gt;What's the connection between these 2 sets of properties?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Apr 2024 04:36:13 GMT</pubDate>
    <dc:creator>manishg</dc:creator>
    <dc:date>2024-04-24T04:36:13Z</dc:date>
    <item>
      <title>jvm settings from bootstrap.conf vs from outside</title>
      <link>https://community.cloudera.com/t5/Support-Questions/jvm-settings-from-bootstrap-conf-vs-from-outside/m-p/387076#M246242</link>
      <description>&lt;P&gt;For nifi, we have jvm options in bootstrap.conf:&lt;/P&gt;&lt;PRE&gt;java.arg.2=-Xms512m
java.arg.3=-Xmx512m&lt;/PRE&gt;&lt;P&gt;Then we also have env variables(got to know on google search,not from official documentation) that can be set from outside(like from kubernetes config yaml):&lt;/P&gt;&lt;PRE&gt;NIFI_JVM_HEAP_INIT
NIFI_JVM_HEAP_MAX&lt;/PRE&gt;&lt;P&gt;What's the connection between these 2 sets of properties?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Apr 2024 04:36:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/jvm-settings-from-bootstrap-conf-vs-from-outside/m-p/387076#M246242</guid>
      <dc:creator>manishg</dc:creator>
      <dc:date>2024-04-24T04:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: jvm settings from bootstrap.conf vs from outside</title>
      <link>https://community.cloudera.com/t5/Support-Questions/jvm-settings-from-bootstrap-conf-vs-from-outside/m-p/387396#M246307</link>
      <description>&lt;P&gt;java.arg.2 and java.arg.3 in bootstrap.conf: These are the traditional way of setting JVM arguments within the NiFi configuration file itself. They translate to:&lt;/P&gt;&lt;P&gt;java.arg.2=-Xms512m: This sets the initial heap size of the NiFi JVM to 512 megabytes (m).&lt;BR /&gt;java.arg.3=-Xmx512m: This sets the maximum heap size of the NiFi JVM to 512 megabytes (m).&lt;BR /&gt;NIFI_JVM_HEAP_INIT and NIFI_JVM_HEAP_MAX environment variables: These are environment variables that allow you to configure the JVM heap size externally. This is particularly useful when deploying NiFi in containerized environments&lt;/P&gt;&lt;P&gt;If both java.arg.2 / java.arg.3 and NIFI_JVM_HEAP_INIT / NIFI_JVM_HEAP_MAX are defined, the environment variables take precedence. This means the values set in the environment variables will be used to configure the JVM heap size.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106206"&gt;@manishg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 09:04:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/jvm-settings-from-bootstrap-conf-vs-from-outside/m-p/387396#M246307</guid>
      <dc:creator>RAGHUY</dc:creator>
      <dc:date>2024-04-30T09:04:12Z</dc:date>
    </item>
  </channel>
</rss>

