Lag Fix

Discussion in 'Performance Tweaking' started by TheWetLemon18, Jul 30, 2018.

Thread Status:
Not open for further replies.
  1. 1
     
    #1 TheWetLemon18, Jul 30, 2018
    Last edited: Mar 24, 2021
  2. does he really need 48GB of ram?
    Here are some better startup scripts for the server
    Code (Java):
    java -Xms8G -Xmx8G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AggressiveOpts -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -jar paperclip.jar
    Code (Java):
    java -Xms16G -Xmx16G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=35 -XX:G1MaxNewSizePercent=60 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AggressiveOpts -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled  -jar paperclip.jar
    Code (Java):
    java -Xms16G -Xmx32G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=35 -XX:G1MaxNewSizePercent=60 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=50 -XX:+AggressiveOpts -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled  -jar paperclip.jar
    Also try following this guide, https://www.spigotmc.org/threads/guide-server-optimization‚ö°.283181/
     
    • Agree Agree x 1
Thread Status:
Not open for further replies.