Hi,
I was trying to make a new private server. However, I needed more memory(here always RAM) an decided to add "-Xms2048m -Xmx2048m" into my command, it gave me an error:
>java -Xmx2048m -Xms2048m -jar forge-1.12.2-14.23.5.2847-universal.jar
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
or
>java -Xmx4G -Xms4G -jar forge-1.12.2-14.23.5.2847-universal.jar
Invalid maximum heap size: -Xmx4G
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
I am running this on java 8 (64bit) and about 10GB of FREE memory on Win10.
I also tried various possibilities from other Forums but nothing worked it always ended in one of the upper Errors.
Without memory extentions, it runs, but very laggy.
Thanks for help