The ram usage was over 32 gb ram for two players. All we did was explore the world, i noticed the massive ram usage once i was close to a desert with a ocean. The futher i walked into the desert the more lag i noticed. Like if the server wasnt unloading Entites.
Comments 8
What about MC-126185?
Please know that the server can be empty and use 40 gb ram! I have given it 64 gb of ram cause of this, the maximum i can give it tho is around 100 gb.
I just made a new world and the ram usage is still insane. So i guess that aint the problem.
All the special stuff i have is rcon enabled. And a auto restart c# script for backning up a world and saving it in a backup server. This is not "connected" with the Java server applicstion tho. Every fourth hour it sends a stop command, Waits 2 minutes. Then kills the process and Zips the world and Send it to the backup server. And then starta the server with a sh script.
Ram usage was still over 30 gb before i made the "script".
Please specify the startup JVM arguments you're using. If you're specifying a large -Xms
value, then Java will immediately take that much memory as reserve (that's the purpose of -Xms
). I can say for certain that on normal setups, Minecraft does not use anywhere near 30gb, given that my machine doesn't even have 30gb.
Maybe related to MC-126294.