hi i cannot seem to run my server from a batch file, so that i can increase the amount of ram dedicated to my server. i created a batch file named start in the correct folder, and when i run my batch file it runs my server, and everything seems to go as planned, and it loads all the mods and everything. it will even say done at the end, but then i cannot connect to the server, and neither can any of my friends. i know i have my server set up properly because when i run the server by just double clicking on it, and not using the batch file it works just fine, i just cant dedicate any extra ram to the server the code i used in my batch file is
java -Xmx5120M -Xms5120M -jar forge.jar nogui
pause