From 56389ef395fda5ada2f8ee741b48b738f8fd3f80 Mon Sep 17 00:00:00 2001 From: Richard Peter Date: Thu, 26 Jun 2014 17:46:44 -0500 Subject: [PATCH] Omaha #3274 Tweak G1 Flags for Cave Change-Id: I7d8ac93f2a245ff35261b2f98f997d201495c4f6 Former-commit-id: e16fd779239a09735d6ea092058a39bc7263b2f1 --- cave/com.raytheon.viz.product.awips/awips.product | 9 ++++++++- cave/com.raytheon.viz.product.awips/developer.product | 9 ++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/cave/com.raytheon.viz.product.awips/awips.product b/cave/com.raytheon.viz.product.awips/awips.product index d7ad8aac7f..d321607b9b 100644 --- a/cave/com.raytheon.viz.product.awips/awips.product +++ b/cave/com.raytheon.viz.product.awips/awips.product @@ -30,7 +30,14 @@ -Dlogback.configurationFile=logback-viz-core.xml -Dlogback.statusListenerClass=com.raytheon.uf.common.status.logback.UFLogbackInternalStatusListener -Dthrift.stream.maxsize=200 --Dviz.memory.warn.threshold=98 +-Dviz.memory.warn.threshold=98 +-XX:+UnlockExperimentalVMOptions +-XX:G1HeapRegionSize=1 +-XX:InitiatingHeapOccupancyPercent=25 +-XX:G1MixedGCCountTarget=16 +-XX:G1MixedGCLiveThresholdPercent=25 +-XX:G1OldCSetRegionThresholdPercent=25 +-XX:G1HeapWastePercent=5 -Xmx2048M -XX:MaxDirectMemorySize=2G -Dfile.encoding=UTF-8 -Xmx768M diff --git a/cave/com.raytheon.viz.product.awips/developer.product b/cave/com.raytheon.viz.product.awips/developer.product index b71bb0e44e..4ef1489d5a 100644 --- a/cave/com.raytheon.viz.product.awips/developer.product +++ b/cave/com.raytheon.viz.product.awips/developer.product @@ -29,7 +29,14 @@ -Dlogback.statusListenerClass=com.raytheon.uf.common.status.logback.UFLogbackInternalStatusListener -Dthrift.stream.maxsize=200 -Dviz.memory.warn.threshold=99 --XX:MaxDirectMemorySize=1G +-XX:MaxDirectMemorySize=1G +-XX:+UnlockExperimentalVMOptions +-XX:G1HeapRegionSize=1 +-XX:InitiatingHeapOccupancyPercent=25 +-XX:G1MixedGCCountTarget=16 +-XX:G1MixedGCLiveThresholdPercent=25 +-XX:G1OldCSetRegionThresholdPercent=25 +-XX:G1HeapWastePercent=5 -Dfile.encoding=UTF-8