Jump to content
  • 0

Question

Posted

The new version of Tekkit will not launch.

I get the following error message.

C:\Documents and Settings\*****\Desktop\File Sharing\Tekkit_Server_2.0>java -Xm

x3G -Xms2G -jar Tekkit.jar nogui

Error occurred during initialization of VM

Could not reserve enough space for object heap

Could not create the Java virtual machine.



C:\Documents and Settings\*****\Desktop\File Sharing\Tekkit_Server_2.0>pause

Press any key to continue . . .

This is an POS laptop with 1gig of Ram that I just run an MC server on for my house hold. I believe this is the same laptop that I ran the previous Tekkit on this laptop without any problems but this new one will not launch.

I also uninstalled and reinstalled Java right before I started the server.

I also tested vanilla MC server and it ran fine as well.

I know its probably one of the switches used to start the Java VM but I do not know what they mean or how to adjust them.

4 answers to this question

Recommended Posts

  • 0
Posted

the -Xmx3G and -Xms2G arguments/switches are probably causing the problem. They tell java to use between 2-3GB of ram, and you don't have that much on your laptop.

You should theoretically be able to change them to -Xmx512M -Xms512M, but your server won't be able to handle much.

  • 0
Posted

Change this:

java -Xmx3G -Xms2G -jar Tekkit.jar nogui

pause

into This: (Rightclick and select edit I believe)

java -Xmx512M -Xms512M -jar Tekkit.jar nogui

pause

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