From 30305418444810b94b1949a01438261e450eab83 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Mon, 17 Mar 2014 14:17:08 +0900 Subject: [PATCH] Add -verbose:gc option for test runs Motivation: While investigating the recent CI machine crashes, I observed that the JVM processes spawned by surefire sometimes take up to 1 GiB RAM. Consuming large amount of memory isn't really a problem, but we need to make sure no GC trashing is occuring during the tests. Modifications: Add -verbose:gc option to the test JVM arguments Result: We can determine if there is any GC anomalies going on in our CI machine. --- pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pom.xml b/pom.xml index 02508b87db..5bf2d50c6b 100644 --- a/pom.xml +++ b/pom.xml @@ -81,6 +81,7 @@ -XX:+OptimizeStringConcat -XX:+HeapDumpOnOutOfMemoryError -Dio.netty.leakDetectionLevel=3 + -verbose:gc @@ -147,6 +148,7 @@ -XX:+UseFastAccessorMethods -XX:+OptimizeStringConcat -XX:+HeapDumpOnOutOfMemoryError + -verbose:gc