Problem modified settings.bat for Hermitpack (1.4.1) server on Windows server 2012

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
D

Dr_Zoidberg

Guest
Good day !
I would like to ask if someone with knowledge of java parameters can write me a modified version of the "settings.bat" from my Minecraft server.
the Server lags really hard on chunk generating and general "load"
BUT my server isnt even using the allocated RAM and the CPU usage is under 40%...
maybe my .bat is restricting the full potential of my server? like mutlithreading.

my Server:
Windows server 2012 R2 Datacenter (Virtual Machine !, rented)
Intel Core i7-3930K [email protected]
14GB RAM (i suspect DDR4)

i use the server for teamspeak,file hosting and little projects where i need a root but disabling everything but the server wont improve performance.

thanks in advance and sorry if i forgot any obvious informations you need.
Have a great day!

edit: Heres the settings.bat im using now

rem Do not touch
set MCVER=1.10.2
set JARFILE=minecraft_server.%MCVER%.jar
set LAUNCHWRAPPERVERSION=1.12
set LAUNCHWRAPPER=net\minecraft\launchwrapper\%LAUNCHWRAPPERVERSION%\launchwrapper-%LAUNCHWRAPPERVERSION%.jar
set FORGEJAR=FTBserver-1.10.2-12.18.2.2124-universal.jar

rem can be changed by user
set MIN_RAM=8G
set MAX_RAM=10G
set PERMGEN_SIZE=256M
set JAVA_PARAMETERS=-XX:+UseParNewGC -Xincgc -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:parallelGCThreads=6 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -Xnoclassgc
 
Last edited:

phit

New Member
Jul 29, 2019
58
0
0
minecraft isn't mulithreaded and lag on worlgen is normal, pregen your world if you don't wanna deal with that

regardless these arguments seem to work well with the pack, at least better then the ones shipped by default

Code:
-XX:+AggressiveOpts -XX:+UseG1GC -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=10 -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=3
 
D

Dr_Zoidberg

Guest
Thanks you for the help !

anyway...i still got 7 TPS in my base and i pretty much tore it down one piece after another to check for lag source :/