From 776a00b0be4cc9160e0596b714ff7613cc248e14 Mon Sep 17 00:00:00 2001 From: Pierre Villard Date: Tue, 3 Jan 2017 15:35:00 +0100 Subject: [PATCH] NIFI-2860 Use different properties for JVM Heap Max and Min values This closes: #1382 Signed-off-by: Andre F de Miranda --- .../nifi-framework/nifi-resources/pom.xml | 4 ++-- .../nifi-resources/src/main/resources/conf/bootstrap.conf | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/pom.xml b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/pom.xml index b8d3ad9ca2..d6b1aafbfe 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/pom.xml +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/pom.xml @@ -25,8 +25,8 @@ holds common resources used to build installers - 512 - 128 + 512m + 512m true diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf index 09126b2f8e..e93678021b 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/bootstrap.conf @@ -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 \ No newline at end of file +#nifi.dead.notification.services=email-notification