Ninjamonkey474 Posted May 8, 2013 Posted May 8, 2013 I recently made a small tekkit server for me and two friends, but it has been pretty laggy. I think this is because when making the server, I had to change the values in the launch.bat file to 1G. I was looking in several places and they say this happens if you have a 32-bit OS or 4G RAM or less. However, I have 8G and a 64-bit OS. Is there any way for me to add more RAM to the server or am I stuck? Quote
Lagnalok Posted May 8, 2013 Posted May 8, 2013 change the value back to at least 2G better 4G. I'm running a server for only me and one friend right now and it goes up to over 2 gig RAM when we both are on. Quote
Ninjamonkey474 Posted May 8, 2013 Author Posted May 8, 2013 I would if I could. I wouldn't post this problem if I could but every time I do try to change it up it tells me Error occurred during initialization of UM 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. Quote
Lagnalok Posted May 8, 2013 Posted May 8, 2013 ok, lets make an easy test. restart your computer - close any programm that may auto start - and than launch the server, does this bring up the same error? Quote
Lagnalok Posted May 8, 2013 Posted May 8, 2013 Then lets try this next: Go to cmd and copy/paste this (EXACTLY this): java -debug -version > "%userprofile%\desktop\javaDebug.log" 2>&1 Press enter, wait 5 seconds, then attempt to type in the cmd box, if you can't type continue waiting, if you can type, then close the cmd and go to your desktop, then copy paste everything from the "javaDebug" file in this thread. also, open your task manager and tell me what stand in the foot line behind "physical memory", or better, make a screenshot of the tab performance (4th tab if it called differently) and post it here. Quote
ONeill87 Posted May 8, 2013 Posted May 8, 2013 Do you use 64 bit java or just the 32 bit one? Effective you can't address full 4gb of ram with just a 32 bit version... Quote
Ninjamonkey474 Posted May 8, 2013 Author Posted May 8, 2013 Ok, here's what it said java version "1.7.0_13" Java SE Runtime Environment (build 1.7.0_13-b20) Java HotSpot Client VM (build 23.7-b01, mixed mode, sharing) Quote
Ninjamonkey474 Posted May 8, 2013 Author Posted May 8, 2013 I just tested which version of Java I have and it turns out it is 32-bit. Is this the issue? If so, how do I fix it? Quote
Magister Posted May 9, 2013 Posted May 9, 2013 install java 64 for your os if you are sure you have a 64 bit os and then add the file path for the 64 bit java to the batch file. also to test you can call java in cmd with -d32 or -d64 to see if you have one or both installed, it will either say it doesnt exsist or it will list the help topics Quote
Ninjamonkey474 Posted May 9, 2013 Author Posted May 9, 2013 I downloaded the 64-bit version of Java and it will let me use larger amounts of RAM. Thanks everyone! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.