Ram allocation?

  • 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

Cubstep12

New Member
Jul 29, 2019
114
0
0
HI. I have recently started hosting a server on my other pc. I just read that about 500 mb of ram should be dedicated per player on the server. I was wondering where u can check how much ram is assigned and how to change it.
I downloaded the server files off the launcher if that makes a difference.
Any help would be greatly appreciated.
Thanks in advance :D
 
Maybe on a busy server with a lot of infrastructure, chunkloaders and players all over the place thats true, but on a fresh world where you are getting started with nothing its overkill.

What mod pack and how many players?

Sent from my Paranoid Android
 
  • Like
Reactions: Cubstep12
Maybe on a busy server with a lot of infrastructure, chunkloaders and players all over the place thats true, but on a fresh world where you are petting started with nothing its overkill.

What mod pack and how many players?

Sent from my Paranoid Android
Ultimate and there's only four of us
 
Id fire it up with 1 or 2 gb and see how it goes, would of thought 1gb would be fine at least early game.

I guess the other questions is, are you running your client on the same PC as you are running the server on, because that will have a big impact.

If there are 4 of you, get everyone to chip in and rent a nice virtual server from someone, a 2gb should treat you well. Unless you are all on the same LAN i guess, then you would be better with something local obviously.
 
Id fire it up with 1 or 2 gb and see how it goes, would of thought 1gb would be fine at least early game.

I guess the other questions is, are you running your client on the same PC as you are running the server on, because that will have a big impact.

If there are 4 of you, get everyone to chip in and rent a nice virtual server from someone, a 2gb should treat you well. Unless you are all on the same LAN i guess, then you would be better with somethings local obviously.
That's all well and good but doesn't answer my question. I wanted to find out where to allocate more ram or where to check how much is already allocated.
We will definitely be renting a server pretty soon though
 
Ah ok, if you look in the ServerStart.bat file (ServerStart.sh on linux) you will see something like:

java -Xms512M -Xmx1G -jar ftbserver.jar

This makes the server start with 512mb of ram, with the option to expand up to 1gig if it needs to. Just change the -Xmx1G to XmX2G if you want to give it up to 2gig to use.