Jump to content

Recommended Posts

Posted

So I just recently bought a new computer, it has 16GB installed RAM.

Below is the launch.bat file that I launch:

 

----------------------------------------------------------------------

java -Xmx3G -Xms2G -jar Hexxit.jar nogui

pause

----------------------------------------------------------------------

 

And this is the result that it comes up with when I go to launch the server (with no programs running):

----------------------------------------------------------------------
Error occurred during initialization of VM

Could not reserve enough space for object heap

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

 

Press any key to continue...

----------------------------------------------------------------------

 

I check my task manager and it says that I still have 12-13GB available on my computer unused.

The server allows me to launch with -Xmx1G -Xms1G but that is still laggy for clients that are connected. Is there a way to reserve more space or something so I can run a server with more RAM?

Thanks

Posted

For all those people that get a similar problem, I fixed it by installing the 64bit version of Java as opposed to the pre-installed 32bit

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...