From b529ef2a59c7df8f435ff7b1fc91362457180498 Mon Sep 17 00:00:00 2001 From: Roman Stoffel Date: Wed, 31 Jan 2024 18:13:08 +0100 Subject: Gamlerhart Last Update: Disabling GC (#636) * Disable The GC Cuts off sometimes up to 1 seconds of runtime on my machine. * Remove Confusing Byte-Order Parameter Bytes have no Byte-Order ;) * Provide More Memory to Run the 10K set * Fix Comparison Function --- calculate_average_gamlerhart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calculate_average_gamlerhart.sh') diff --git a/calculate_average_gamlerhart.sh b/calculate_average_gamlerhart.sh index c52a25b..7427ea6 100755 --- a/calculate_average_gamlerhart.sh +++ b/calculate_average_gamlerhart.sh @@ -15,5 +15,5 @@ # limitations under the License. # -JAVA_OPTS="--enable-preview --add-modules=jdk.incubator.vector" +JAVA_OPTS="--enable-preview --add-modules=jdk.incubator.vector -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC -Xmx512m -Xlog:all=error" java $JAVA_OPTS --class-path target/average-1.0.0-SNAPSHOT.jar dev.morling.onebrc.CalculateAverage_gamlerhart -- cgit v1.2.3