This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new a098653d07 NIFI-10165 Increased NiFi bootstrap heap size to 48 MB
a098653d07 is described below

commit a098653d07522c6bf9ab329b29c4175f545536e3
Author: Emilio Setiadarma <[email protected]>
AuthorDate: Mon Jun 27 08:08:37 2022 -0700

    NIFI-10165 Increased NiFi bootstrap heap size to 48 MB
    
    - Increased bootstrap heap size from 24 MB to 48 to avoid heap constraints 
when using HTTP notifications
    
    This closes #6161
    
    Signed-off-by: David Handermann <[email protected]>
---
 .../nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh
index d784a5ba8d..98ea634ae7 100755
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh
@@ -326,7 +326,7 @@ run() {
 
     BOOTSTRAP_DIR_PARAMS="${BOOTSTRAP_LOG_PARAMS} ${BOOTSTRAP_PID_PARAMS} 
${BOOTSTRAP_CONF_PARAMS}"
 
-    run_bootstrap_cmd="'${JAVA}' -cp '${BOOTSTRAP_CLASSPATH}' -Xms12m -Xmx24m 
${BOOTSTRAP_DIR_PARAMS} ${BOOTSTRAP_DEBUG_PARAMS} ${BOOTSTRAP_JAVA_OPTS} 
org.apache.nifi.bootstrap.RunNiFi"
+    run_bootstrap_cmd="'${JAVA}' -cp '${BOOTSTRAP_CLASSPATH}' -Xms48m -Xmx48m 
${BOOTSTRAP_DIR_PARAMS} ${BOOTSTRAP_DEBUG_PARAMS} ${BOOTSTRAP_JAVA_OPTS} 
org.apache.nifi.bootstrap.RunNiFi"
     run_nifi_cmd="${run_bootstrap_cmd} $@"
 
     if [ -n "${run_as_user}" ]; then

Reply via email to