LocalServer problem with Java?

Al
- in Worlds
2

I just wanted to make myself a LocalHost server (Minecraft). When I made the start script (it looks like this: Java -Xmx1G -jar paperclip.jar nogui) I wanted to use 2Gb +, because I have 16 GB of RAM. If I now enter 2G at Xmx and then start the bat, no window comes up, so it does not start. But with 1G the server starts (up to Eula). Why is that that I can no longer give GB?

On 3G he says:

Error occurred reserve during Initialization of Vm.

Could not reserve enough space of 3145728Kb object heap

Ps: why more? Because I want to build a big game world with Quest System etc. And then I want to change big things with WE. And so that the server / PC does not smear, it needs more RAM…

Dr

Have you possibly installed 32Bit Java?

Av

So first I would have to instead of

Xmx 2G,
Xmx2G

standing, but you probably only wrote that here (you never know)

Reinstalling Java correctly and again would definitely be worth a try.

The error message basically says that the amount of RAM that you specified in the start script could not be reserved. It could be because there's not enough memory available. 16GB fill up faster than you would expect. Closing any other programs that require a lot of RAM would also be an approach.

If none of this works, give a few more details about the server (operating system etc.), maybe someone can help you.