Different Memory ingame - in hosting , in hosting my Memory always increase to max and get crash
But my ram in game is normal, here it my plugins
startup command:
java -Xms128M -XX:MaxRAMPercentage=100.0 -XX:+UseG1GC -DPaper.IgnoreJavaVersion=true -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 -Duser.timezone="Asia/Ho_Chi_Minh" --add-opens java.base/java.lang=ALL-UNNAMED -jar server.jar
thnks for your helpp
6 Replies
Memory usage in your panel means nothing
Especially when using Aikers' flags
The way to tell is with /spark health
it same like /rambar
that's a full gig and a half less
but when Memory in panel get to max , my server will crash T-T
Do not set the MaxRAMPercentage to that whole 100%
otherwise you will see Out Of Memory error pretty frequent
instead try lowering that value down to 80 or less to test if the server gonna survive or not @🕯Fl☄rence✧
thnksssss
let me test it ;3