Improve default JVM memory arguments for mac/linux.

This commit is contained in:
crowetic 2024-01-03 17:23:23 -08:00
parent bac0f01007
commit 8062cace30

View File

@ -34,7 +34,7 @@ fi
# Comment out for bigger systems, e.g. non-routers
# or when API documentation is enabled
# Uncomment (remove '#' sign) line below if your system has less than 12GB of RAM for optimal RAM defaults
# JVM_MEMORY_ARGS="-Xss1256k -Xmx3128m"
JVM_MEMORY_ARGS="-Xss256m -XX:+UseSerialGC"
# Although java.net.preferIPv4Stack is supposed to be false
# by default in Java 11, on some platforms (e.g. FreeBSD 12),