Help! - ServerStart.bat values and arguments

  • 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

tobben20

New Member
Jul 29, 2019
9
0
0
I would appreciate some help from you guys, we have been running an MCPC+ server for a while now, with the direwolf20 pack. It has mostly been running great, however ram usage builds up and causes the server to run a bit slow. I was wondering if there are any arguments I should add in our startup?
I've seen this post: http://forum.feed-the-beast.com/threads/jvm-arguments-for-modded-minecraft-updated-12-30-13.28994/

However it notes that it is outdated, and I haven't found much more on it. I would greatly appreciate any answers from admins running MCPC or anyone at all who knows how to optimize ram usage. We have a total of 16gb of ram. 12gb are in use currently.

Current startup:
java -Xms10028M -Xmx10028M -XX: PermSize=512m -jar MCPC.jar --nojline true
PAUSE

Thank you for any help!
 

HaoSs

New Member
Jul 29, 2019
290
0
0
thit is what i use :
Code:
/usr/bin/java -Xms5120M -Xmx6120M -XX:PermSize=256m -XX:NewRatio=3 -XX:SurvivorRatio=3 -XX:TargetSurvivorRatio=80 -XX:MaxTenuringThreshold=8 -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxGCPauseMillis=10 -XX:GCPauseIntervalMillis=50 -XX:MaxGCMinorPauseMillis=7 -XX:+ExplicitGCInvokesConcurrent -XX:+UseCMSInitiatingOccupancyOnly -XX:CMSInitiatingOccupancyFraction=80 -XX:+BindGCTaskThreadsToCPUs -jar cauldron-1.6.4-1.965.7-B7.jar nogui
 
  • Like
Reactions: Eyamaz

Cptqrk

Popular Member
Aug 24, 2013
1,420
646
138
So, I run my server through a host, if I can find the serverstart.bat file, what do/should I use to edit it? Notepad++?
Is there a specific place that I should put that line of code HaoSs?
 

Orannis396

New Member
Jul 29, 2019
9
0
0
If you are running through a host the server will be run by their script, not one you can edit.
 

Cptqrk

Popular Member
Aug 24, 2013
1,420
646
138
OK, so I would have to request that they add the arguments and cross my fingers LOL thanks!