Added DEBUG_MEMORY option

This commit is contained in:
Geoff Bourne 2020-04-27 07:55:38 -05:00
parent 691fe638e4
commit 40547439b2

View File

@ -163,6 +163,10 @@ if isTrue "${USE_LARGE_PAGES}"; then
"
fi
if isTrue "${DEBUG_MEMORY}"; then
free -m
fi
mcServerRunnerArgs="--stop-duration 60s"
if [[ ${TYPE} == "CURSE_INSTANCE" ]]; then
JVM_OPTS="-Xms${INIT_MEMORY} -Xmx${MAX_MEMORY} ${JVM_OPTS}"