mirror of https://github.com/apache/nifi.git
NIFI-10017 Increase JVM heap size for tls-toolkit
This closes #7100 Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
parent
2b9f2071ed
commit
335552f9ff
|
@ -33,7 +33,7 @@ goto startConfig
|
|||
:startConfig
|
||||
set LIB_DIR=%~dp0..\classpath;%~dp0..\lib
|
||||
|
||||
if "%JAVA_OPTS%" == "" set JAVA_OPTS=-Xms12m -Xmx24m
|
||||
if "%JAVA_OPTS%" == "" set JAVA_OPTS=-Xms128m -Xmx256m
|
||||
|
||||
SET JAVA_PARAMS=-cp %LIB_DIR%\* %JAVA_OPTS% org.apache.nifi.toolkit.tls.TlsToolkitMain
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ run() {
|
|||
export NIFI_TOOLKIT_HOME="$NIFI_TOOLKIT_HOME"
|
||||
|
||||
umask 0077
|
||||
exec "${JAVA}" -cp "${CLASSPATH}" ${JAVA_OPTS:--Xms12m -Xmx24m} org.apache.nifi.toolkit.tls.TlsToolkitMain "$@"
|
||||
exec "${JAVA}" -cp "${CLASSPATH}" ${JAVA_OPTS:--Xms128m -Xmx256m} org.apache.nifi.toolkit.tls.TlsToolkitMain "$@"
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue