Can't change RAM allocation or the server wont start up.
I have bought a new raspberry pi with more ram and want to allocate more ram to the server. I cannot change the ram allocation in the startup script or the server wont boot at all and the terminal opens and closes instantly. I cant even allocate 1gb more to it (from 1.5 to 2 or 3) just the exact ram.
If I change java -Xms6G -Xmx6G \ into java -Xms1024M -Xmx1536M \ it does work.
I cannot do 4G or higher even thought it should be able to
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.