Jump to content

Problem Setting Up New Tekkit LAN server


5a1amand3r

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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