Jump to content

I cannot create a server


Recommended Posts

I cannot create a server and i dont know why it just says:

Error occurred during initialization of VM

Could not reserve enough space for object heap

Error: Could not create java virtual machine

Error: A fatal Exception has occurred. program will exit

Press any key to continue

Link to comment
Share on other sites

I have 4 ram...

Next question then. Are you running the Technic launcher (starting Tekkit) before running the server? to run both on the same computer you also need more RAM than that.

Me running windows 7 x64 with 4GB of ram and tekkit client running, the server will always give me that message till I shutdown tekkit client.

Also you could try to make a launch.bat file to place in the same folder as your tekkit.jar file

create a new .txt file in the folder with tekkit.jar,

Copy and paste the following into it.

java -Xmx3G -Xms2G -jar Tekkit.jar nogui


(The pause is there in case it errors that way I can copy&paste any error messages instead of the window just closing leaving me scratching my head on what happened)

rename it to launch.bat

double-click the new batch file you created. If that don't work, most I can say is that you most likely need a RAM upgrade.

Link to comment
Share on other sites

The other questions are whether you have a 64-bit OS (which you should have to actually use 4 GB), and did you manually install 64-bit Java. The default Java even in 64-bit Windows is usually 32-bit due to default 32-bit Internet Explorer.

The default launch.bat (or launch.sh for Linux or Mac OS X) gives Java for the tekkit server 2 GB initially or 3 GB max, and a 32-bit OS can typically only address about 3 GB max, including OS and any other running programs or services without doing something special. I can run both the tekkit server and technic launcher in 64-bit Linux on a PC w/8 GB RAM and 4 virtual cores (2 cores w/hypertheading), but with 4 GB RAM (or if only 2 core) you probably need to run the client launcher on a different computer.

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