what does the "RAM SIZE" in server packages?
like 4GB ram, 50 players
what does ram do, what happens when ram is full?
this is may be stupid question but i need to know this!
what does ram do, what happens when ram is full?
this is may be stupid question but i need to know this!
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
RAM - random-access memory
You have your regular memory which holds all the information about where every block in the world is placed
and then you have RAM memory which is responsible for handling all the logic, generation and everything that "happens" on the server. If you start running out of ram the game will stall, lag and eventually crash when ram is filled. RAM usage doesnt increase due to how much stuff is saved but by how much stuff needs to be generated in this moment
Imagine you have a tap and a bucket with a hole at the bottom. The tap constantly fills your bucket and the hole slowly drains the water in the bucket.
The speed of water is = the amount of stuff that needs to be processed by the server.
Bucket is your allocated ram memory
Hole is the game slowly finishing tasks and removing the need to use RAM for that task
if the demand is too high the water overflows through the bucket and everything falls apart. The bigger the bucket the more stuff can be processed at once and hold in it until it eventually all drips down through the hole