Messed around with JVM flags and came up with this, I ain't no Java expert but this thing works much better than original flags for me anyway.
And thanks feanturi for the post that gave me some idea to do this uwu
And thanks feanturi for the post that gave me some idea to do this uwu
Code:
DEFAULT_JVM_OPTS='"-DLog4jContextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector" "-server" "-XX:NewSize=4g" "-XX:MaxNewSize=6g" "-d64" "-Xms12g" "-Xmx16g" "-Xmn14g" "-XX:SurvivorRatio=8" "-XX:ParallelGCThreads=8" "-XX:+CMSParallelRemarkEnabled" "-XX:+UseCMSInitiatingOccupancyOnly" "-XX:CMSInitiatingOccupancyFraction=92" "-XX:+ScavengeBeforeFullGC" "-XX:+CMSScavengeBeforeRemark" "-XX:MaxTenuringThreshold=2" "-XX:+ParallelRefProcEnabled" "-Dsun.net.inetaddr.ttl=30"'