fix: actually kill the server on out of memory error

This commit is contained in:
Allink 2023-06-20 12:59:41 +01:00
parent 619442d296
commit b6ceed24fc
No known key found for this signature in database

View file

@ -37,7 +37,7 @@ DISCORD_ROLE_ID_EXECUTIVE = ""
DISCORD_ROLE_ID_SERVER_OWNER = ""
[launcher]
jvm_args = "-XX:OnOutOfMemoryError='kill -2 %p' -Dcom.github.iptfreedom.fastasynchronousincompetence.allowv7=true"
jvm_args = "-XX:+ExitOnOutOfMemoryError -Dcom.github.iptfreedom.fastasynchronousincompetence.allowv7=true"
aikars_flags = true
eula_args = true
nogui = true