How do I increase ram on my FTB ultimate 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

Jakdax99

New Member
Jul 29, 2019
1
0
0
So I've been looking around the internet for a few hours and nothing has helped me. Please if you know how to do this comment.
 

mmorton89

New Member
Jul 29, 2019
45
0
0
It's the same as any other minecraft server.

open the file you run the server with, either .bat for windows or .sh for linux (not sure about mac)

Change your -Xmx1024m to what you want the max amount of RAM the server to use.
 

xinthral

New Member
Jul 29, 2019
13
0
0
When executing the jar file, java has a few extensions that can specify the max and minimum amount of RAM allowed. As mmorton89 has indicated the -Xmx flag is for MAX memory while the Xms is minimum memory . In my experience it's good to keep the minimum around 75% of the max, so if you set the servers max to -Xmx1024m (aka -Xmx1G) then you'd want the minimum around -Xms768m. Helps avoid intermitten lag spikes while the disk is trying to load and unload things to RAM frequently.

CAUTION: Server admins should be aware that they really should never set their FTB Server resources higher than 60% of the machines maximum. So if your server has 10GB's of RAM, 6GB is about where you want it to start and tweak from there. Other services such as the operating system, kernel modules, and in many cases LAMP services all require resources as well, better to under-estimate than over-extend, then crashing the server. This is not a hard rule, just a beginners guideline.
 

Blake Hughes

New Member
Jul 29, 2019
1
0
0
It's the same as any other minecraft server.

open the file you run the server with, either .bat for windows or .sh for linux (not sure about mac)

Change your -Xmx1024m to what you want the max amount of RAM the server to use.

For mac it is start.command