From 5f3291048602fa490960da67412b22717f9e9305 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Sun, 19 Nov 2023 23:28:00 +0100 Subject: [PATCH] fix(java): add debugging output on run Signed-off-by: Matej Focko --- .common/java/run.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.common/java/run.sh b/.common/java/run.sh index 3ee0463..49f1e70 100755 --- a/.common/java/run.sh +++ b/.common/java/run.sh @@ -1,4 +1,7 @@ #!/bin/sh +echo "[INFO] Compiling $1" javac -cp ".;*" $1.java -java -Xmx512M -Xss64M -DONLINE_JUDGE=true -Duser.language=en -Duser.region=US -Duser.variant=US $1 \ No newline at end of file + +echo "[INFO] Running $1" +java -XX:+UseSerialGC -XX:TieredStopAtLevel=1 -XX:NewRatio=5 -Xms8M -Xmx512M -Xss64M -DONLINE_JUDGE=true Solution \ No newline at end of file