Question about ways to launch FTB server

  • 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

schwaa

New Member
Jul 29, 2019
5
0
0
I hate to double post but...I posted this question in the general forum and got no reponses. It probably belongs on the server forum.
I am new at this and would love some help. I am running ftb server on a mac mini (direwolf).

When I launch the server by simply clicking on the file ftbserver.jar, everything works well. I get an occasional warning cant keep up message but no lagging with play.

When I launch the server with a shell command, I get lag and multiple continuous warning can't keep up messages. My shell script is simply
java -Xms1G -Xmx4G -jar ftbserver.jar

I have tried increasing and decreasing the memory setting but there is still lag either way.

How is ftb launching differently when you just click the ftbserver.jar file? I am not even sure how much memory is allocated to the server this way.

Any help appreciated. Thanks.