I am trying to start a dedicated server and get the following error:
Error Occurred during initialization of VM
Could not reserve enough space for 3145728KB object heap
Press any key to continue . . .
I am running the server on a machine with 64GB of ram, so dedicating 3GB shouldn't be a problem.
here is my bat file:
for /f "tokens=1* delims==" %%i in (C:\RisingWorld\server.properties) do (
if "%%i"=="server_memory" set mem=%%j
if "%mem%"=="" set mem=3072
java -Xmx%mem%m -jar C:\RisingWorld\server.jar
I do not have a memory value set in my server.properties