mirror of https://github.com/apache/nifi.git
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 <exceptionfactory@apache.org>
This commit is contained in:
parent
0de83292de
commit
a098653d07
|
@ -326,7 +326,7 @@ run() {
|
||||||
|
|
||||||
BOOTSTRAP_DIR_PARAMS="${BOOTSTRAP_LOG_PARAMS} ${BOOTSTRAP_PID_PARAMS} ${BOOTSTRAP_CONF_PARAMS}"
|
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} $@"
|
run_nifi_cmd="${run_bootstrap_cmd} $@"
|
||||||
|
|
||||||
if [ -n "${run_as_user}" ]; then
|
if [ -n "${run_as_user}" ]; then
|
||||||
|
|
Loading…
Reference in New Issue