Jump to content

Recommended Posts

Posted

When I try to allocate 2 gigs of ram to my Tekkit server, its says this error:

Error occurred during initialization of VM

Could not reserve enough space for object heap

Could not creat the java virtual machine.

Press any key to continue...

When I did my orginal minecraft server, I never had this issue, it runs decent on 1g or 1024M when I set it in

the lanch file.

I have no idea if this have to do with java, or somthing else. Please help? and also,

my computer has 16 gigs of ram and a proccesor speed of 3.10 ghz, so I don't think its a hardware lack. :P

Thanks, Battle8111

Posted

What kind of operating system do you have?

I have a 64 bit operating system, and 64 bit java and Java jdk files, I have pretty much all the java stuff i need for a minecraft server.

Posted

Turn both numbers to 1

They are, and now it works. I am runnning the server, but I want to increase the ram. because its a bit laggy for my friends,also freeman, thanks for the help so far. :D

Posted

So, you wouldn't mind posting the contents of your server's launch.bat file and the relevant (Java) portion of your system path variable? Just to be sure?

I would expect the launch.bat to work if you used 1536MB as a starting and max amount, but not, say, 1700 or 1800. That's just how 32-bit Java rolls.

Posted

So, you wouldn't mind posting the contents of your server's launch.bat file and the relevant (Java) portion of your system path variable? Just to be sure?

I would expect the launch.bat to work if you used 1536MB as a starting and max amount, but not, say, 1700 or 1800. That's just how 32-bit Java rolls.

Ah, I see. Ow, ok. I see what you mean(derp) heres bat:

"C:\Program Files\Java\jre7\bin\java.exe" -Xmx3g -Xms2G -jar Tekkit.jar nogui

pause

This currently works for the server, its improved game play on server and increase view distance time to load. :D

Posted

So what were you doing, that you say it gave you the unable to create VM error before now? Can you bump your batch file up to, say, -Xms3G -Xmx5G, and see what it does?

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