I have been playing Minecraft with my friend since yesterday and rented a server with 2 GB RAM from Zap-hosting. I read on the internet that 2 GB of RAM should be enough for both of us in Minecraft Vanilla and without plugins. After a few hours of play, however, our server was locked because we supposedly used up more than the 2 booked RAM. Then I added another 2 GB of Ram and am now at 8 euro / month.
Today we could play again, but I could see on the website how we needed more and more RAM and have now returned to 3.7 / 4 GB. For two!
It can't be, can it?
Minecraft is badly written / programmed and consumes an abnormal amount of RAM and performance.
I don't understand what you mean. Usually RAM is not consumed as performance. I guess you mean traffic but that would be pretty expensive
You can't say bad. Just a little inefficient
Did you read the description? On the Internet it says everywhere that with 4GB much more is possible. The problem with Minecraft is that it is written in Java, which is very far from C. The Microsoft version is written in C ++ which is why it runs much better.
Well on the website the RAM usage is "the rough RAM consumption of your game server in relation to what we assign to your game server through the slots and possibly booked RAM boost. This also means that the RAM usage at 3.68 GB of 4 GB. Before we had only 2GB we were kicked out of the server because we supposedly used too much RAM.
I find it very strange, since you normally get permanently allocated RAM and nothing more. If you needed more, the server was a little off
This is not even that abnormal behavior from the JVM (Java). The standard garbage collector in Java 8 only releases memory when it is necessary. Since Minecraft creates many objects, this fills up quickly, regardless of whether Minecraft actually needs this amount of memory. Usually, Java doesn't wait until just before the border. Did you do anything that could result in this consumption (e.g. Spawned a lot of mobs)?
If Zap Hosting locks your server due to a high memory consumption, it is a really unprofessional provider, because that is not possible with a normal server configuration. I would demand the money back immediately.
For such private purposes I can also offer you the server free of charge, I still have a lot of unused capacity anyway.
This rarely has anything to do with it, the myth about the inefficiency of Java comes from the 90s. Since I've explained this so many times, here's a quick summary of why Minecraft is slow:
The rendering engine uses rendering techniques that were out of date a decade ago
It was programmed extremely inefficiently and has not really been improved to date (even external developers manage to improve performance by worlds)
The tick calculations throw extremely around objects, which a garbage collector does not tolerate well
The very dynamic object-oriented modeling makes it even slower
Yes, that's how it was with the other server hosters with whom I have already rented servers.
Thanks a lot. No, we didn't do anything extraordinary. I have now downloaded the Minecraft world with FileZilla and plan to rent a server from G-Portal again. The last time we could easily play with 2GB and then I upload the world there and try to get the money back at Zap-hosting.
So I don't know much about the game itself, but if you rent a server with 2GB, it should cover and end with 2GB (the same with 4GB). If the "provider" simply throws you out, then it's simply about squeezing more money out of you (and at the same time shows that he actually has hardly any idea about his servers). Ergo as FireEraser said → money back and away.
Okay thanks. I downloaded the world and I think I'm switching to Nitrado or G-Portal.
I know such problems with Zap hosting too. If the RAM does not overflow, then the CPU without player is with me to about 200% even with a newly installed server. Honestly: take another provider.
Okay I'll do.
I have now switched to Minecraft Paper Spigot and therefore we only need 1 - 1.5 GB RAM. Then I wouldn't have had to buy the upgrade at all…
They should bring out a huge performance update