I am trying to make a server and allocate more RAM to it. I know that you have to put the line of code in a .bat file and I did. I put
@echo off
java -Xms2048M -Xmx2048M -jar minecraft_server.jar nogui
pause
Yes, minecraft_server is the name and when I change the RAM to be 1024 it works. I know the simple answer is that I don't have enough RAM, but I have 24 GBs of ddr3 RAM so I am completely lost. I would think that it has something to do with my RAM except I've made a server before and dedicated 10 GBs to it, soooooooo I dont know what to do.
I am trying to make a server and allocate more RAM to it. I know that you have to put the line of code in a .bat file and I did. I put
@echo off
java -Xms2048M -Xmx2048M -jar minecraft_server.jar nogui
pause
Yes, minecraft_server is the name and when I change the RAM to be 1024 it works. I know the simple answer is that I don't have enough RAM, but I have 24 GBs of ddr3 RAM so I am completely lost. I would think that it has something to do with my RAM except I've made a server before and dedicated 10 GBs to it, soooooooo I dont know what to do.
You need 64bit Java.
Can you send me the correct link because I believe I already have 64-bit java
EDIT - I just downloaded 64-Bit java from a different java link and it worked. Thanks!