ram allocation
Hi, I have a 32gb ram machine. Is it really better to use only 12GB or is there a way to use all of it for better performance?
12 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 g0ldyy#0
and is there any full benchmark available on ram allocation?
I have 40 constants players between
and I got Ryzen 9 7950x3D
I don't care about "wasting" ram but if it actually reduces performances then I care 😄
anything higher than 16gb usually causes more issues
did you get this information from your own tests oor?
this is common knowledge
you only allocate what you actually need
usually no more than 8gb ?
but max 16
I will go for 16 then
thanks
java -Xms10G -Xmx10G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar paper.jar --nogui
make sure ur using these flags
and paperspigotI use flags from https://flags.sh
with purpur
and I'm good with optimizations
so it should be good ig
this should work too ig
yeah ur pretty much good then
What if
They use the Shenandoah GC