If you have set your server’s
xmx value in the server’s status page to 6GB, then MineOS will tell Java “you have 6GB available to use”. However, unless Minecraft itself has a use for that space, it is very possible (and normal) for a server to use less.
Think of memory like space on a desk divided into 8 sections. You might have 6 of those sections reserved for one project, but that doesn’t mean that that project will always use all the space it has, all the time.
What do you mean by this?
Are you looking at linux utilities (like
top) and it’s reporting it’s almost out of memory? If that is that is the case, then the correct response to this is actually to lower the amount of memory Minecraft gets allocated.
Back to the desk analogy, if 6 of 8 sections are dedicated to just one project, and 2 of the other 8 sections are used for just assorted stuff–it might be better to have 3 of those sections for assorted stuff (system overhead) and only 5 to the project especially because Minecraft seems to only need four.
It seems counter-intuitive, but sometimes you can expect better performance by giving Minecraft less. This is because Minecraft often isn’t what’s short on resources–usually it’s overestimating how much Minecraft wants that causes the problems.