Battle8111 Posted August 18, 2012 Share Posted August 18, 2012 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. Thanks, Battle8111 Link to comment Share on other sites More sharing options...
Freeman1312 Posted August 18, 2012 Share Posted August 18, 2012 What kind of operating system do you have? Link to comment Share on other sites More sharing options...
Battle8111 Posted August 18, 2012 Author Share Posted August 18, 2012 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. Link to comment Share on other sites More sharing options...
Freeman1312 Posted August 18, 2012 Share Posted August 18, 2012 did you change the first number to 2 and the second to three? Link to comment Share on other sites More sharing options...
Battle8111 Posted August 18, 2012 Author Share Posted August 18, 2012 did you change the first number to 2 and the second to three? For the ram detication? on the bat file? I think thats what you mean. :P Link to comment Share on other sites More sharing options...
Freeman1312 Posted August 18, 2012 Share Posted August 18, 2012 when you edit the run to change the ram dedication Link to comment Share on other sites More sharing options...
Battle8111 Posted August 18, 2012 Author Share Posted August 18, 2012 when you edit the run to change the ram dedication Ok, I will try that. Link to comment Share on other sites More sharing options...
Battle8111 Posted August 18, 2012 Author Share Posted August 18, 2012 Ok, now its saying max over heap. That did not work. Hum. Any other ideas? :D Link to comment Share on other sites More sharing options...
Freeman1312 Posted August 18, 2012 Share Posted August 18, 2012 Turn both numbers to 1 Link to comment Share on other sites More sharing options...
Battle8111 Posted August 18, 2012 Author Share Posted August 18, 2012 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 Link to comment Share on other sites More sharing options...
Freeman1312 Posted August 18, 2012 Share Posted August 18, 2012 No problem! Btw its not because of the server Ram that there lagging its probably there internet connection Link to comment Share on other sites More sharing options...
Battle8111 Posted August 18, 2012 Author Share Posted August 18, 2012 No problem! 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: Link to comment Share on other sites More sharing options...
Freeman1312 Posted August 18, 2012 Share Posted August 18, 2012 No I meant there's lol Link to comment Share on other sites More sharing options...
Battle8111 Posted August 18, 2012 Author Share Posted August 18, 2012 No I meant there's lol oh, lol, my bad, But, I was going to say, I am always wrong. xD Link to comment Share on other sites More sharing options...
Freeman1312 Posted August 18, 2012 Share Posted August 18, 2012 Lol btw your internet IS FREAKIN FAST compared to mine lols Link to comment Share on other sites More sharing options...
Battle8111 Posted August 18, 2012 Author Share Posted August 18, 2012 Lol btw your internet IS FREAKIN FAST compared to mine lols xD Its ok, my friend has 100m on his download. D:and only 5 on his upload. xD Link to comment Share on other sites More sharing options...
Freeman1312 Posted August 18, 2012 Share Posted August 18, 2012 see better Link to comment Share on other sites More sharing options...
Battle8111 Posted August 18, 2012 Author Share Posted August 18, 2012 see better Ow my... Link to comment Share on other sites More sharing options...
Freeman1312 Posted August 18, 2012 Share Posted August 18, 2012 lol Your's is WAY better Link to comment Share on other sites More sharing options...
Battle8111 Posted August 18, 2012 Author Share Posted August 18, 2012 lol Your's is WAY better Yeah, but still, I got to figure out how to fix this problem, I am going to "upgrade"(repair) my windows 7. :D Link to comment Share on other sites More sharing options...
Torezu Posted August 20, 2012 Share Posted August 20, 2012 OP: Are you 100% certain you're using 64-bit Java? This is exactly what I believe would happen if you weren't. Link to comment Share on other sites More sharing options...
Battle8111 Posted August 22, 2012 Author Share Posted August 22, 2012 OP: Are you 100% certain you're using 64-bit Java? This is exactly what I believe would happen if you weren't. Positive. Link to comment Share on other sites More sharing options...
Torezu Posted August 22, 2012 Share Posted August 22, 2012 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. Link to comment Share on other sites More sharing options...
Battle8111 Posted August 23, 2012 Author Share Posted August 23, 2012 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 Link to comment Share on other sites More sharing options...
Torezu Posted August 23, 2012 Share Posted August 23, 2012 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? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now