Jump to content

Question

Posted

Title: Error when starting up server

Version: 3.0.3/3.0.4

OS: Windows Vista Home Premium 32-bit OS

Java Version: Version 7 Update 5

Description of Problem:

When I start up my Tekkit server it says this:

Error Messages:

C:\Users\Parker\Desktop\Tekkit_Server_2.1.1>java -Xmx3G -Xms2G -jar Tekkit.jar n

ogui

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\Parker\Desktop\Tekkit_Server_2.1.1>pause

Press any key to continue . . .

Error Log:


C:\Users\Parker\Desktop\Tekkit_Server_2.1.1>java -Xmx3G -Xms2G -jar Tekkit.jar n

ogui

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\Parker\Desktop\Tekkit_Server_2.1.1>pause

Press any key to continue . . .

12 answers to this question

Recommended Posts

  • 0
Posted

ok lets change your batch file a bit try changing your batch to the following without quotes

"%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1536m -Xms1536m -jar Tekkit.jar nogui

pause


 

didnt notice before that your on a 32 bit system. unfortunately the max java 32bit will recognize is 1.5gb thus the 1536m if that doesnt work try 

 


"%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1g -Xms1g -jar Tekkit.jar nogui

cant guarentee the best performance but hey thats about the best your gonna get on 32 bit

  • 0
Posted

ok lets change your batch file a bit try changing your batch to the following without quotes

"%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1536m -Xms1536m -jar Tekkit.jar nogui

pause


 

didnt notice before that your on a 32 bit system. unfortunately the max java 32bit will recognize is 1.5gb thus the 1536m if that doesnt work try

 


"%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1g -Xms1g -jar Tekkit.jar nogui

cant guarentee the best performance but hey thats about the best your gonna get on 32 bit

It still gives me the same error. I used to have 2 gigs of RAM but I just upgraded to 4 gigs. I don't know if that will affect anything.

I tried 1G and it worked. (I didn't see that part until now) Thanks!

  • 0
Posted

(For you and those that still have this problem), the reason this happened is because the server doesn't run of the total RAM you have installed, but the amount of RAM free, for example, I have 4G of RAM, but if I go to Control Panel\System and Security\System (Windows 7), I have 2.99G usable, which is why I couldn't start up my server either, just putting that out there :)

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