Problem Arguments on launch

  • 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

Ragatokk

New Member
Jul 29, 2019
15
0
0
I currently use
Code:
java -server -Xms2048M -Xmx8192M -XX:PermSize=1024M -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -jar FTBServer-1.7.10-1558.jar nogui
I increased the values of the ram because the server used all of it. Tough I am still getting allot of ticks dropped.
The issue I want to fix however is making the java process priority realtime instead of normal. as I have had cases when I forget to set it to that, that the CPU just go to 0% and people time out to the server. Once I then would click on the CMD window I would get a message that x seconds have passed and all ticks frome those seconds have been dropped.

TLDR: How to change the .bat to make the java process run as realtime priority.