Piped-Backend/hotspot-entrypoint.sh

6 lines
268 B
Bash
Raw Normal View History

2023-08-04 15:25:52 +00:00
#!/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