Question: Should Xms and Xmx match or should one be higher?
Hello, I have a quick question, I've seen some people say that Xms and Xmx should remain the same values for the startup parameters but I've also seen others say that the values should be for example 4GB(Xms)/8GB(Xmx) instead of 8GB(Xms)/8GB(Xmx) the actual documentation states it should match https://docs.papermc.io/paper/aikars-flags and the script generators also match them. What's your opinion and is there ever a good idea to make one lower?
Aikar's Flags | PaperMC Docs
Aikar's flags are a set of JVM flags designed to improve the performance of your Paper server.
7 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by theowlsky#0
https://docs.papermc.io/paper/aikars-flags#technical-explanation-of-the-flags
I mean, it says why
Aikar's Flags | PaperMC Docs
Aikar's flags are a set of JVM flags designed to improve the performance of your Paper server.
but in reality, the actual difference isn't that big from what I've heard
I've done quite a bit of testing and I've found making them match is the best bet
Yeah the docs is exactly why I was asking the question, I've seen some members mention one should be lower and other higher which counter dictates what the docs says. That's why I wanted to see what everyones views/opinions on it is.
The docs only provide recommendations and examples. Flags and GC tuning should be specific to your setup (though for lots of servers, the default recommendations will work)
Makes sense