Allocating More RAM for already running 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
Status
Not open for further replies.

ccathcart123

New Member
Jul 29, 2019
3
0
0
Hi, i already have a ftb ultimate server running that me and a couple friends have been using. I dident do anything special during initial setup and i just dragged the server client into a desktop folder and ran it. I was wondering if there was a way to allocate more RAM to the server? A short little description would be helpful!
 

iMontouch

New Member
Jul 29, 2019
147
0
0
dito.

But you can change the starting parameter of your server anyways.
Make sure Java 7 is installed and then create a txt file. Change its type to .bat and name it as you like (eg. Start.bat).
Write the following inside:
Code:
java -Xmx1024M -Xms1024M -jar ftb_jar.jar nogui
Put the script into the folder of your server and make sure your .jar has the same name as in the script.
the two numbers (1024) show the allocated RAM. Change them to 2048 for two gig or something else.

Any questions?
 

FrankieTheSnake

New Member
Jul 29, 2019
137
0
1
Hm, be carefull you don't overdo that because when you do, it's going to be a problem and probably you are gonna smell plastic.
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
. . .You guys forgot to tell him that he needs to run 64 bit Java in order to use more than 1.5 gigs of memory for the server.

In order to run 64 bit Java you need a 64 bit OS, so if your Windows 7 is 32 bit your hosed.
 
Status
Not open for further replies.