Jump to content

Recommended Posts

Posted

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?

Posted

Do you have a 64-Bit OS? If not, then you're trying to allocate more than 1,5 GB of RAM to the server, which is impossible on a 32 Bit OS.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...