Jump to content

Recommended Posts

Posted

C:\Users\Squeak\Desktop\TEKKIT SERVER>java -Xmx3G -Xms2G -jar Tekkit.jar nogui

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.

C:\Users\Squeak\Desktop\TEKKIT SERVER>pause

Press any key to continue . . .

This is the problem i get when trying to run the server after clicking the Launch.bat file, not sure what to do to fix this,

Any ideas?

Posted

Do you have a 64-Bit OS? If not, then you're trying to allocate more than 1,5 GB of RAM to the server, which is impossible on a 32 Bit OS.

Posted

Yeah, the issue is that you're allocating too much memory, not too little.

Rightclick launch.bat, choose edit, and change:

java -Xmx3G -Xms2G -jar Tekkit.jar nogui


 

into:

 


java -Xmx1024M -Xms1024M -jar Tekkit.jar nogui

If you are playing with less than 10 people on at once (as I assume will be the case, since it's only a LAN server), that's more than enough memory, and it will work on just about any system.

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