mirror of https://github.com/apache/nifi.git
NIFI-2860 Use different properties for JVM Heap Max and Min values
This closes: #1382 Signed-off-by: Andre F de Miranda <trixpan@users.noreply.github.com>
This commit is contained in:
parent
5419891fe7
commit
776a00b0be
|
@ -25,8 +25,8 @@
|
|||
<description>holds common resources used to build installers</description>
|
||||
<properties>
|
||||
<!--Wrapper Properties -->
|
||||
<nifi.jvm.heap.mb>512</nifi.jvm.heap.mb>
|
||||
<nifi.jvm.permgen.mb>128</nifi.jvm.permgen.mb>
|
||||
<nifi.jvm.heap.init>512m</nifi.jvm.heap.init>
|
||||
<nifi.jvm.heap.max>512m</nifi.jvm.heap.max>
|
||||
<nifi.run.as />
|
||||
<!-- nifi.properties: core properties -->
|
||||
<nifi.flowcontroller.autoResumeState>true</nifi.flowcontroller.autoResumeState>
|
||||
|
|
|
@ -32,8 +32,8 @@ graceful.shutdown.seconds=20
|
|||
java.arg.1=-Dorg.apache.jasper.compiler.disablejsr199=true
|
||||
|
||||
# JVM memory settings
|
||||
java.arg.2=-Xms${nifi.jvm.heap.mb}m
|
||||
java.arg.3=-Xmx${nifi.jvm.heap.mb}m
|
||||
java.arg.2=-Xms${nifi.jvm.heap.init}
|
||||
java.arg.3=-Xmx${nifi.jvm.heap.max}
|
||||
|
||||
# Enable Remote Debugging
|
||||
#java.arg.debug=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8000
|
||||
|
@ -74,4 +74,4 @@ notification.max.attempts=5
|
|||
#nifi.stop.notification.services=email-notification
|
||||
|
||||
# Comma-separated list of identifiers that are present in the notification.services.file; which services should be used to notify when NiFi dies?
|
||||
#nifi.dead.notification.services=email-notification
|
||||
#nifi.dead.notification.services=email-notification
|
||||
|
|
Loading…
Reference in New Issue