Hey, i want to create .command file that tells .jar file to run with 512 or 1024m of memory.
Im running a server for the game and it has 100m of memory and keeps on quiting because it doesnt have enough memory.
So if someone could tell how can i run it with more memory that would be great. I have tried:
java -Xmx1024M -Xms1024M -jar minecraft.server.jar but it runs only in terminal, i need it to run from the folder if you know what i mean by that, basically if the file is turned on it will create several other files if they dont exist, they do - so i need it to run from the folder.
APPRECIATE YOUR HELP
Im running a server for the game and it has 100m of memory and keeps on quiting because it doesnt have enough memory.
So if someone could tell how can i run it with more memory that would be great. I have tried:
java -Xmx1024M -Xms1024M -jar minecraft.server.jar but it runs only in terminal, i need it to run from the folder if you know what i mean by that, basically if the file is turned on it will create several other files if they dont exist, they do - so i need it to run from the folder.
APPRECIATE YOUR HELP