Can i use all my ram?

Hello, i installed mineos and i wanted to ask if i could give all my ram to my server. (2 gb) or do i need to leave some ram for mineos. Or does mineos automaticly give all the ram to the server? Thanks!

yes, Linux itself needs memory for keeping itself up.

no, it is chosen within the webui how much to allocate. XMS = minimum that the Minecraft server will always get XMX = maximum that Minecraft will always get.

Keep in mind, aside from what Minecraft uses, Java has it’s own separate amount it uses too. So whatever you choose for your XMX value, make sure it’s sufficiently below your 2GB maximum to allow for Java overhead and Linux overhead.

Thank you so much! ------