Problem Memory problem with Direwolf20 pack

  • 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

Asturia

New Member
Jul 29, 2019
13
0
0
I'm running a server on a Ubuntu 12.04 server.
I'm using the Direwolf20 pack.
Every day the memory of the server is just completely filling up.
Starting and stopping the minecraft server is helping at all.
Only restarting the server completely helps.

Can anyone help me with this or point me in the correct direction?
 

Fido488

New Member
Jul 29, 2019
6
0
0
Look into alternative startup commands. The way you start your server can have a huge affect on its performance. I currently use:
Code:
cd Desktop/Direwolf20_server
java -server -Xincgc -Xmx3G -XX:NewRatio=2 -XX:CMSFullGCsBeforeCompaction=1 -XX:SoftRefLRUPolicyMSPerMB=2048 -XX:+CMSParallelRemarkEnabled -XX:+UseParNewGC -XX:+DisableExplicitGC -Xnoclassgc -oss4M -ss4M -XX:+UseFastAccessorMethods -XX:CMSInitiatingOccupancyFraction=90 -XX:+UseConcMarkSweepGC -XX:UseSSE=4 -XX:+UseCMSCompactAtFullCollection -XX:ParallelGCThreads=2 -XX:+AggressiveOpts -cp ftbserver.jar -jar ftbserver.jar
When I tried to start up the server using the original startup commands the server was lagging so much even when using the client on the same computer as the server. It was lagging so bad that mining was nearly impossible.
How long have you been running your server? Are you getting errors in your terminal log? We need a few more details.