Skip to content
This repository has been archived by the owner on Jun 15, 2019. It is now read-only.

How to add Java Flags #170

Open
k9lego opened this issue Oct 8, 2018 · 0 comments
Open

How to add Java Flags #170

k9lego opened this issue Oct 8, 2018 · 0 comments

Comments

@k9lego
Copy link

k9lego commented Oct 8, 2018

https://aikar.co/2018/07/02/tuning-the-jvm-g1gc-garbage-collector-flags-for-minecraft/
Hello, I am using Mark2 for my servers, but I was wondering, how do I add these flags to mark2.properties for my server?
java -Xms6G -Xmx6G -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=100 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:G1MixedGCLiveThresholdPercent=35 -XX:+AlwaysPreTouch -XX:+ParallelRefProcEnabled -Dusing.aikars.flags=mcflags.emc.gs -jar paperclip.jar

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant