Problem Error when starting up my server in .bat file

  • 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

lowkillerk

New Member
Jul 29, 2019
1
0
0
I am running windows 7 with 4GB of RAM (with 2.93 GB usable) with a 32 bit operating system (Sort of obvious but I still felt it unnecessary to put).

I am not running of a host I am running it of my own computer.

The FTB server version I am running is in 1.4.7 minecraft and the most updated pack (I'm sorry I'm not sure on how to check what version a pack is :( , if anybody can tell me that would be awesome :) ).

My server specs are well nothing that's the problem I can't get it to work but its running with this in the batch file "java -Xms256M -Xmx512M -jar ftbserver.jar
PAUSE'

I know 'pause' isn't neccasary but it instantly closed once I opened it until I put pause, Ok anyways to the problem whenever I open my server (Unedited and freshly downloaded and extracted server file) I run the batch file (commonly known as .bat) it pops up and says for the error message "Program to big to fit in memory" I tried downloading a new version extracting it to diffrent folders and that's all I don't know what else I do and so I went to forums. If you guys need more info please tell me I don't post error reports..well.... ever.
 

Zexmaxwell001

New Member
Jul 29, 2019
92
0
0
My server specs are well nothing that's the problem I can't get it to work but its running with this in the batch file "java -Xms256M -Xmx512M -jar ftbserver.jar


That is your problem. you are not starting your server up without the necessary amount of ram.

Code:
java -Xms512M -Xmx1024M -jar ftbserver.jar

Use that code. it should run. if not bump both numbers up by 512 and try again.