Jump to content

Question

Posted

Error occurred during initialazation of VM
Could not reserve enough space for 3145728KB object heap
press any key to continue

I press the key - nothing happens

- This occurrs when I try to start a server on my computer, help me please!

1 answer to this question

Recommended Posts

  • 0
Posted

If you got a 32bit Windows, then the problem is that you allocated 3GB of RAM for the server. The server can't start up because those 3GB aren't available. Say you got 4GB of RAM installed (the maximum for a 32bit system, for more you'll need 64bit), where 0.5GB is used by hardware and ~1.5GB for system and other programs, and you got only 2GB left. You can clearly see that you need 1GB more RAM to host that server. Unless, you right-click the server.bat file, click Edit and instead of Xmx3GB and Xms2GB type in, say, Xmx1024M and Xms512M. This way the server is restricted to a maximum memory usage of 1GB. Lowering it even more might cause the server to crash/lag because of not enough memory. If you have little RAM installed (1-2GB) then there's really no solution other than buy more RAM and, optionally, get a 64bit Windows (64bit systems only work if you got a 64bit architecture CPU/processor) if you really want to pimp up your RAM.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...