Quote from ApianArcher»
The .bat I use has the command line "java -jar -Xmx4G forge-1.8.9-11.15.1.1902-1.8.9-universal.jar" Probably that garbage collection deal you
mentioned.
While performance tuning a server that had "tick too long" issues logging on the console even with no one logged in, I eventually ended up with this command line, by stripping settings that made no difference:
java -server -Xmx3072m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -jar forge-1.7.10-10.13.4.1448-1.7.10-universal.jar nogui
Technically the core setting here which makes a difference is the -XX:+UseConcMarkSweepGC as it implies -XX:+UseParNewGC so you don't need to provide both.
I also kept -server because, while it didn't make a visible difference, when there is a parameter telling Java you are running a server, and you are running a server, why the hell not include it.
These settings are valid for Java 8 - if you are running Java 7 or below, with a large modpack, you might need to add -XX:MaxPermSize=128M (or larger).
If you are interested to know more about what UseConcMarkSweepGC does you can read about it here - but assuming it works, its good enough to know that its magic.
Its worth noting that the default CLI that the client uses if no JVM arguments are provided is
-Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
So I strongly suspect that Mojang have done their own performance tuning, and found those three -XX jvm arguments to be important.
I guess the lesson here is to question: why in the hell didn't we both just use the Mojang default command from the get go?
1
You are the giver of strange and powerful magics, thanks be unto you!
2
I would totally play if you made a new one, I was having a lot of fun on the old one! If you make a new server though, I would love a mod like Witchery. Bibliocraft would also be awesome, but neither have been updated to 1.8.9 yet, I don't think. But a cool addon for Thaumcraft 5 would be Thaumic Potatoes, how about it?
Also, is there a way to make a player lose something upon dying, like xp, while keeping their inventory?
Were villages allowed to generate? I would like if they could this time around.
Anyway, I would love if you made another server!