From ac2d6535e5bb62c51c2781ecf9d7d6cfa842db08 Mon Sep 17 00:00:00 2001 From: Joseph Percivall Date: Mon, 28 Nov 2016 16:41:28 -0500 Subject: [PATCH] MINIFI-126 Adjusting default JVM size and removing bootstrap properties relating to Java 7 --- minifi-assembly/pom.xml | 2 +- .../src/main/resources/conf/bootstrap.conf | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/minifi-assembly/pom.xml b/minifi-assembly/pom.xml index 68271102f..b303c6c97 100644 --- a/minifi-assembly/pom.xml +++ b/minifi-assembly/pom.xml @@ -271,7 +271,7 @@ limitations under the License. - 512 + 256 128 diff --git a/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-resources/src/main/resources/conf/bootstrap.conf b/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-resources/src/main/resources/conf/bootstrap.conf index 2f43f5cc2..2525d430d 100644 --- a/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-resources/src/main/resources/conf/bootstrap.conf +++ b/minifi-nar-bundles/minifi-framework-bundle/minifi-framework/minifi-resources/src/main/resources/conf/bootstrap.conf @@ -85,14 +85,6 @@ java.arg.4=-Djava.net.preferIPv4Stack=true java.arg.5=-Dsun.net.http.allowRestrictedHeaders=true java.arg.6=-Djava.protocol.handler.pkgs=sun.net.www.protocol -# Java 7 and below have issues with Code Cache. The following lines allow us to run well even with -# many classes loaded in the JVM. -#java.arg.7=-XX:ReservedCodeCacheSize=256m -#java.arg.8=-XX:CodeCacheFlushingMinimumFreeSpace=10m -#java.arg.9=-XX:+UseCodeCacheFlushing -#java.arg.11=-XX:PermSize=${minifi.jvm.permgen.mb}M -#java.arg.12=-XX:MaxPermSize=${minifi.jvm.permgen.mb}M - # The G1GC is still considered experimental but has proven to be very advantageous in providing great # performance without significant "stop-the-world" delays. #java.arg.13=-XX:+UseG1GC