Jump to content

Question

Posted

Title: launch.bat

Version: 0.5.1

OS: Java 32 Bits

Java Version: 7.0

Description of Problem:

Every time I try to open launch.bat the programa says that:

C:\Users\Heliton\Desktop\Server\tekkit lite>java -Xmx3G -Xms2G -jar TekkitLite.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.

______________________________________________________________________________

I heard that I have to change the -Xmx3G to -Xmx4G and the -Xms2G to -Xms3G. Idid it, but the program said:

C:\Users\Heliton\Desktop\Server\tekkit lite>java -Xmx4G -Xms3G -jar TekkitLite.jar nogui

Invalid maximum heap size: -Xmx4G

The specified size exceeds the maximum representable size.

Error: Could not create the Java Virtual Machine.

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

Please, what should I do?

Observation: I said that my Tekkit Lite Version is 0.5.1 because there is not my version (0.6.5)!!

Error Messages:

Error Log:


 

6 answers to this question

Recommended Posts

  • 0
Posted

Those errors mean that your computer does not have enough memory (RAM), you need to use smaller values. Here is what I use:

java -Xmx2G -Xms500M -jar TekkitLite.jar nogui

Xmx is the maximum amount memory that the server will use.

Xms is the initial amount of memory that the server will use.

Lower the values until the server starts, make sure that Xms is less than or equal to Xmx. Also, "Java 32 Bits" is not what OS (Operating System) you are running, you are running some version of Windows.

  • 0
Posted

I change it, but there is still the first error message!

C:\Users\Heliton\Desktop\Server\tekkit lite>java -Xmx3G -Xms2G -jar TekkitLite.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.

  • 0
Posted

I change it, but there is still the first error message!

C:UsersHelitonDesktopServertekkit lite>java -Xmx3G -Xms2G -jar TekkitLite.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.

You are allocating more memory than java can claim either:

You are using 32 Bit Java

and/or

You don't have that much RAM spare

  • 0
Posted

I change it, but there is still the first error message!

C:\Users\Heliton\Desktop\Server\tekkit lite>java -Xmx3G -Xms2G -jar TekkitLite.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.

I forgot that I am running 64-bit Java, try this:

java -Xmx1G -Xms500M -jar TekkitLite.jar nogui

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