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
No description
6 Replies
Loudbook
Loudbook•4d ago
Memory usage in your panel means nothing Especially when using Aikers' flags The way to tell is with /spark health
🕯Fl☄rence✧
it same like /rambar
No description
Loudbook
Loudbook•4d ago
that's a full gig and a half less
🕯Fl☄rence✧
but when Memory in panel get to max , my server will crash T-T
Aretzera
Aretzera•4d ago
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✧
🕯Fl☄rence✧
thnksssss let me test it ;3

Did you find this page helpful?