#RAM Question
1 messages · Page 1 of 1 (latest)
The question should be directed at your server provider rather than here
A dedicated server allows 100 players with any RAM assignment
There are recommended assignments, but the server will launch regardless of them, usually in B42 I recommend 2-4gb for the server itself and 500mb per player
I was talking about game settings; there might be an option in the ini file or in the sandbox that's very resource-intensive or something like that that I might be overlooking.
to avoid RAM overload
I am not really sure what you might be referring to
What is the issue and what are you looking to accomplish exactly?
i think he is asking if anything else changed in 42 with the config that might draw more usage, like zombie migration, or corpse effects, events and things like that, which could be lowered in a hopes to increase performance.
More assets which slightly increased RAM usage, on bigger servers by roughly 1-2gb
But you cannot lower that, since those assets are necessary
Definitely does not explain why a 70 slot server is suddenly a 30 slot server, 2gb cannot do that
Which is why I am asking for the root of the question
Exactly, I was referring to the game settings. If there are any new features that now require more resources, as Kael mentioned, there might be a new option that uses significantly more RAM than before, like migration or some other new feature I'm unaware of. I simply don't understand why I could previously maintain a stable server with 70 players using only 36MB of RAM, and now with 40MB I can only manage 32 players—at the limit. I understand there are many new features, but I can't explain why RAM usage is now so high.
If you answer my question then I can better answer yours
I thought there was some buggy setting that needed to be disabled. That was simply the question. I can set 70 slots, but eventually the RAM will crash, as already happens occasionally when I set more than 30 slots. This is happening on the exact same server that previously had 70 slots running simultaneously.
Not to mention that in B41 I had over 250 mods
No there is no such setting, as mentioned, the RAM barely increased for the server, and it actually decreased per player.
Can you share the server logs and your server config from the RAM crash?
I had 80 players on the server with 20gb RAM, this is on B42
Meaning it would be impossible for you to crash on 40gb, unless you use mods that have memory leaks
I would suggest removing them
Hey! I'll prepare a crash log for you tomorrow and share it. I'm currently using mods, but a few days ago we played a completely vanilla world and the same thing happened. Prepare the logs and I'll send them to you.
Could you also screenshot the "Show Statistics" menu when logged in-game as an admin
You can see that menu in your Admin menu on the left side of the screen
Hey there, the RAM statistics look perfectly fine from what I can tell, how long was the server running to get to this point? Can you also share the crash logs?
Hey Beard, we're about to increase the slot size so the server crashes and we can show the logs 🙂 I'm sending you that screenshot with the server working correctly; as soon as it crashes, we'll send you the logs so you can take a look.
These logs do not show any crashing or out of memory errors, just a lot of possible mod issues
Did the server crash?
The server crashed twice because the RAM was overloaded, and it happens to us the same way without any mods in a completely virgin world, 15 minutes ago and 2 hours ago.
Can you share the logs showing the RAM was overloaded?
What diagnosis did you do to confirm its a RAM issue?
In the previous version 41, the server ran stably with 36 GB of RAM and over 70 concurrent players. Currently, in the new version, the server has 40 GB of RAM; however, once approximately 30 players are connected, memory usage begins to increase progressively and continuously, exceeding 40 GB, at which point the server crashes due to RAM saturation. This behavior is clearly visible in the host's control panel, which displays real-time memory consumption, suggesting a possible problem of excessive memory consumption or a memory leak in the current version.
This problem occurs in both vanilla worlds and modded worlds, so it doesn't appear to be related to mods, but rather to a change in the engine's memory management in this version.
Tell me which records you need and I'll share them with you.
"crashes due to RAM saturation" is an assumption, since you have not provided evidence of that. Java does not simply crash due to running out of RAM without it showing up in the logs
Regardless, for any additional crash logs, can you share all “hs_err_pid” files found in your main server install location?
Those would be generated during crashes, and especially when running out of RAM, so we can see more info there
Are these all the err pid files? Since neither of them are memory crash issues, they are just segmentation faults of the steam library, likely happening at the server startup rather than during it running
What is the creation date of these files? Since I cannot check for that once the file is sent, does the date match with the crashes?
Those are the dates the reports were generated; the last crash generated a report, but the previous one did not.
Check the in-game show statistics Windows
Though I think I see the issue, you are using a container
yes Pterodactyl
Look at the actual RAM usage, you are at 13gb used
Pterodactyl is misreporting the usage
My assumption here is, the game is not crashing, Pterodactyl is killing it due to it misreporting the RAM
I would suggest either reconfiguring it to not kill the server, or assign less RAM to the server in the json file
Go for 20G, leave 40 assigned to the egg
Did you recommend changing ZGC to G1GC in the JSON? Because ZGC incorrectly reports RAM usage in Docker/Pterodactyl.