Use only OpenJDK version 17; 2 GB RAM by default
This commit is contained in:
parent
c4cfcecb00
commit
b04e279094
1 changed files with 2 additions and 2 deletions
4
start.sh
4
start.sh
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/ash
|
#!/bin/ash
|
||||||
# shellcheck shell=dash
|
# 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"
|
PIPED="/home/piped/piped.jar"
|
||||||
|
|
||||||
"$JAVA_BIN" -server \
|
"$JAVA_BIN" -server \
|
||||||
-Xmx1G \
|
-Xmx2G \
|
||||||
-XX:+UnlockExperimentalVMOptions \
|
-XX:+UnlockExperimentalVMOptions \
|
||||||
-XX:+OptimizeStringConcat \
|
-XX:+OptimizeStringConcat \
|
||||||
-XX:+UseStringDeduplication \
|
-XX:+UseStringDeduplication \
|
||||||
|
|
Loading…
Reference in a new issue