Unable to assign more ram to Hamachi 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

firestarian

New Member
Jul 29, 2019
1
0
0
Hello, myself and 2 friends are using hamachi to play on one server. I got it to work by following the directions, the server lagged, and my computer has 6gb of ram. So I edited the batch file as it told me to do. All I did was change
java -Xms512M -Xmx1G -jar FTB-Beta-A.jar
to
java -Xms1028M -Xmx3G -jar FTB-Beta-A.jar

when I attempt to run the batch file, it puts out maybe 4 lines of code and the batch file just stops, i do not have time to read the error code or anything.
 

Un0Du0

New Member
Jul 29, 2019
7
0
0
I'm assuming since you mentioned using the batch file that you are running Windows, try this:

Press the Windows key and R to open the run command.
Type "cmd" and then press OK. This will get you into a command prompt.
type "cd <path to server>" then press enter. where <path to server> is where your server is located on your hard drive, in my case it's located in C:\Users\Public\Games\FTB so thats what I would type.
now type the name of your batch file to run the server, which by default is Server Start.bat and hit enter.

This will try to run it but then if/when it crashes the window wont close and you can see what caused it to break.

Also if your java or windows is only 32 bit you wont be able to assign 3G to it, due to limited address space, try switching it from 3G to 2560M and see if it works.