Piped-Backend/hotspot-entrypoint.sh
2023-08-04 16:25:52 +01:00

6 lines
268 B
Bash
Executable file

#!/usr/bin/env sh
MAX_MEMORY=${MAX_MEMORY:-1G}
java -server -Xmx"$MAX_MEMORY" -XX:+UnlockExperimentalVMOptions -XX:+HeapDumpOnOutOfMemoryError -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+UseCompressedOops -XX:+UseNUMA -XX:+UseG1GC -jar /app/piped.jar