From b04e27909460571c19590c3be1767e1548c6d55a Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Thu, 20 Jul 2023 12:30:34 +0400 Subject: [PATCH] Use only OpenJDK version 17; 2 GB RAM by default --- start.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start.sh b/start.sh index 52d50ab..b112787 100644 --- a/start.sh +++ b/start.sh @@ -1,11 +1,11 @@ #!/bin/ash # shellcheck shell=dash -JAVA_BIN="/usr/lib/jvm/default-jvm/bin/java" +JAVA_BIN="/usr/lib/jvm/java-17-openjdk/bin/java" PIPED="/home/piped/piped.jar" "$JAVA_BIN" -server \ - -Xmx1G \ + -Xmx2G \ -XX:+UnlockExperimentalVMOptions \ -XX:+OptimizeStringConcat \ -XX:+UseStringDeduplication \