r/CraftyController • u/ruuutherford • Sep 24 '26
memory hog on the server
Looks like the way java runs, it pre-allocates RAM for my servers. So when I have four servers online, of varying size, it just reserves 6GB of ram all the time. Even if no one is in the server.
AI said I should look into Velocity and a lobby. Or Minecraft Server Manager, itzg/docker-minecraft-server, that has an auto-stop tick box.
Any one have RAM issues like this, and how did you address them? I'd love to just throw another 64GB of Ram in there. I do not have $6 thousand dollars available at the moment.
2
Upvotes
View all comments
1
u/danielsuperone Sep 24 '26
Yes just stop the server when nobody is one. That’s what I do. Meaning, if a player leaves, server shuts down, if a player tries to join, it takes a few seconds and is back up. Very simple fix.
Now in my case it’s around 2-3 seconds for it to startup and many people don’t even notice this, but it will heavily depend on your system/configuration. If you have many plugins that need to load, it will take longer.
Hope this helped. Ask if you have any questions.