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

No problem! :D

Btw its not because of the server Ram that there lagging its probably there internet connection

My internet is pretty good, I will show you my speed test. Link:

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?

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