-xmx & -xms must be the same value?

I readed akair's docs about akair flags and I've seen that it said that setting -xms to a lower value is wasted ram. Yet I've heard that the value of -xms doesn't have a big impact
17 Replies
Admincraft Meta
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 who1ssus#0
Deleted User
Deleted User2y ago
-Xms is basically the minimum RAM java can use
ProGamingDk
ProGamingDk2y ago
different sources say different things
QarthO
QarthO2y ago
this is quite the discussion topic, and credible people have argued both sides. But both sides agree that the gain/loss is almost negligible as long as both numbers are reasonable. IMO just set them both to the same. I think this is the standard and people haven’t had any issues with this
ProGamingDk
ProGamingDk2y ago
IBM says it doesn't matter but then oracle said something like it matters a tiny bit It's such a mess
QarthO
QarthO2y ago
I think for our use case, it doesn’t matter. Can argue if you’re running 1000+ players/plugins on a super server maybe u mite want to look into it
ProGamingDk
ProGamingDk2y ago
Folia!
QarthO
QarthO2y ago
😁
ProGamingDk
ProGamingDk2y ago
Has been done
QarthO
QarthO2y ago
I saw an article about it the other week
ProGamingDk
ProGamingDk2y ago
Yeh 2k people would be huge
QarthO
QarthO2y ago
I wonder what their startup flags were
ProGamingDk
ProGamingDk2y ago
Cubxity's Blog
Breaking the Limits: How Folia Made 1,000 Player Minecraft Server a...
Check out the impressive results of the large-scale Folia test that took place on June 18th, 2023. Learn more about our findings and technical challenges in this post.
ProGamingDk
ProGamingDk2y ago
Everything should be in here
QarthO
QarthO2y ago
Well they have the same min/max I guess to answer the op question, “they must be the same” No. They can be different and u prob won’t see a performance dip/increase . But it’s standard to have them be the same. So just have them be the same
1who¡ssus?
1who¡ssus?OP2y ago
Thanks youu
QarthO
QarthO2y ago
Peak of 2gbps bandwidth…

Did you find this page helpful?