-Xms10G -Xmx10G what's the difference between the two?

and what should I set those?
20 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 itsmerioooo#0
ProGamingDk
ProGamingDk2y ago
xms is minimum, xmx is maximum there is jvm overhead so xmx isnt max max
itsmerioooo
itsmeriooooOP2y ago
so what should I set this with 11gb ram?
ProGamingDk
ProGamingDk2y ago
how much ram do u have purchased from your host if u have one
itsmerioooo
itsmeriooooOP2y ago
11GB
ProGamingDk
ProGamingDk2y ago
9.5-10 them then
itsmerioooo
itsmeriooooOP2y ago
like this? -Xms10G -Xmx10G
ProGamingDk
ProGamingDk2y ago
yes remove alwayspretouch if ur using a host
itsmerioooo
itsmeriooooOP2y ago
yeah removed 10gb crashed lmao I did 9 is it safe?
ProGamingDk
ProGamingDk2y ago
sure
itsmerioooo
itsmeriooooOP2y ago
Is it safe to make it to 11GB because I have 1.9GB swap
ProGamingDk
ProGamingDk2y ago
Try it
Lildirt
Lildirt2y ago
if you're swapping to disk, you've already failed. do not swap. seriously. it's so bad for your performance in many cases. if you crash at 10GB, then went to 9GB because it worked, why do you think bumping it to 11GB was ever a good idea? plus, you don't need this much memory unless you're fairly modded. stick with 8GB, tbh.
itsmerioooo
itsmeriooooOP2y ago
My tps is dropping 60-70 players
ProGamingDk
ProGamingDk2y ago
Ram is not the cause of lag...
itsmerioooo
itsmeriooooOP2y ago
I'll send spark wait
itsmerioooo
itsmeriooooOP2y ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
✅ All good
Analyzed with no recommendations.
Requested by itsmerioooo#0
itsmerioooo
itsmeriooooOP2y ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
Spark Profile Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
✅ All good
Analyzed with no recommendations.
Requested by itsmerioooo#0

Did you find this page helpful?