Mindcrack Pack Server Ram

pineapplemango64

New Member
Jul 29, 2019
1
0
0
I need to allocate more RAM to my Mindcrack Server, however, I can't seem to work it out. Could somebody help me? I mean, tell me what to write in a text/bat document? I want to allocate 1 gb of RAM. I'd appreciate it if anyone could help.
 

maxpowa

New Member
Jul 29, 2019
74
0
0
Put the following into a batch file, and put the batch file into your server directory.
Code:
java -Xms512M -Xmx1G -jar ftbserver.jar nogui
PAUSE

Quick breakdown of whats in the command:
"java" - calls upon the java installation (duh)
"-Xms512M" - specifies the minimum heap size (512MB of RAM)
"-Xmx1G" - specifies the maximum heap size (1GB of RAM)
"-jar" - tells java that you are wanting to start a jar file
"ftbserver.jar" - the filename of your server jarfile
"nogui" - a switch that tells the server NOT to open the server window, if you like the server window, remove this switch (you still can type commands into cmd box if you keep this on)

"PAUSE" - tells cmd to keep the window open in the event of a crash or other such event