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:
Pierre Villard 2017-01-03 15:35:00 +01:00 committed by Andre F de Miranda
parent 5419891fe7
commit 776a00b0be
2 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -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