From 1d748e3d24d86b551e1a99ae9cabec4728c5af24 Mon Sep 17 00:00:00 2001 From: ryandunlavy <32855869+ryandunlavy@users.noreply.github.com> Date: Thu, 23 Apr 2020 09:26:48 -0700 Subject: [PATCH] Use PrintGCDateStamps over PrintGCTimeStamps Small change to use -XX:+PrintGCDateStamps instead of -XX:+PrintGCTimeStamps for easier parsing of the GC logs. PrintGCTimeStamps will show the number of seconds since Looker started for garbage collection events, whereas PrintGCDateStamps will show the raw timestamps of the GC events. https://www.oracle.com/technetwork/articles/java/vmoptions-jsp-140102.html --- startup_scripts/looker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startup_scripts/looker b/startup_scripts/looker index d91393f..61300ba 100755 --- a/startup_scripts/looker +++ b/startup_scripts/looker @@ -53,7 +53,7 @@ start() { java \ -XX:+UseG1GC -XX:MaxGCPauseMillis=2000 -XX:MaxMetaspaceSize=$METAMEM \ -Xms$JAVAMEM -Xmx$JAVAMEM \ - -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps \ + -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps \ -Xloggc:/tmp/gc.log ${JAVAARGS} \ -jar looker.jar start ${LOOKERARGS}