SchokkerIT / GameDash

Official repository for the GameDash project
21 stars 0 forks source link

Server being forced stopped by the system since it is exceeding it's RAM_MB amount which makes no sense #8

Open minecraftdan1234 opened 4 years ago

minecraftdan1234 commented 4 years ago

Describe the bug Server being forced stopped by the system since it is exceeding it's RAM_MB amount which makes no sense

To Reproduce Steps to reproduce the behavior:

  1. Run your server.
  2. Wait for it to crash by itself and the system will kill it.

Expected behavior How an earth is is exceeding by more than 8192MB?

Screenshots image

Desktop (please complete the following information):

Jesse-Schokker commented 4 years ago

JVM has quite a bit of overhead so raising the threshold value prevents it from being detected as going over the limit. Also changing the Xms flag helps as it doesn't allocate all of the available memory to the process.

A setting for Xms will be exposed for the Minecraft SDK module in the next update and the default threshold has been switched to a percentage rather than an absolute value.