Server Crash.

  • 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
If you're getting the server files from the launcher then you're probably running it from the .sh file. Open it and theres a -Xmx flag, increase that number to give it more ram. It is of course, limited to how much you have, the -Xmx flag is in megabytes so if you are using the machine just for the server you can probably give it all but one gigabyte which you would multiply by 1024 to get the number of megabytes.
 
That would be part of your issue. The default run state is something like 512M allocated.
 
Yes, but how do i let it have more ram. Please leave detailed instructions for the people who have the same problem and are watching this thread.
 
Launch the server using this in a shell file or a .bat file:


java -Xms512M -Xmx2G -jar FTB-Beta-A.jar
 
I launched it as start.command and start.sh, and it said I had no privleges for the .command, while the .sh refused to open, so I checked the privleges
and gave myself them. It still didn't work.
 
What happens if you open a command line in the FTB server directory and type the command in manually?
 
Ok, that explains a lot, your java environment isn't in your run.

Next step is to locate your executable and do


<path to java>\java -version

if that works

<path to java>\java -Xms512M -Xmx2G -jar FTB-Beta-A.jar
 
what is my executable? teminal?[DOUBLEPOST=1353977587][/DOUBLEPOST]it said no such file in directory
 
I want to go ahead and ask how do I have my server launch from the .bat file that allocates more ram. Its a dedicated server with mcadmin.
 
EDIT: I assume you're using mac since that's what it says in the crash log, if you aren't this probably wont work.

The issue is you don't have permission to run the .sh file so you need to give yourself permission using
chmod +x /path/to/shFile.sh
in terminal, if that doesn't work use
sudo chmod +x /path/to/shFile.sh
then you can launch it with
cd /path/to/server/directory
and
sh shFile.sh
obviously replacing everything with the correct names, hope this helps.

I have no idea devfourk, I don't really know anything about windows except that in my opinion it [redacted] :)
 
EDIT: I assume you're using mac since that's what it says in the crash log, if you aren't this probably wont work.

The issue is you don't have permission to run the .sh file so you need to give yourself permission using
chmod +x /path/to/shFile.sh
in terminal, if that doesn't work use
sudo chmod +x /path/to/shFile.sh
then you can launch it with
cd /path/to/server/directory
and
sh shFile.sh
obviously replacing everything with the correct names, hope this helps.

I have no idea devfourk, I don't really know anything about windows except that in my opinion it [redacted] :)