Ninjamonkey474 Posted May 8, 2013 Share 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? Link to comment Share on other sites More sharing options...
Lagnalok Posted May 8, 2013 Share 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. Link to comment Share on other sites More sharing options...
Ninjamonkey474 Posted May 8, 2013 Author Share 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. Link to comment Share on other sites More sharing options...
Lagnalok Posted May 8, 2013 Share 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? Link to comment Share on other sites More sharing options...
Ninjamonkey474 Posted May 8, 2013 Author Share Posted May 8, 2013 Same error. Link to comment Share on other sites More sharing options...
Lagnalok Posted May 8, 2013 Share 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. Link to comment Share on other sites More sharing options...
ONeill87 Posted May 8, 2013 Share 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... Link to comment Share on other sites More sharing options...
Ninjamonkey474 Posted May 8, 2013 Author Share 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) Link to comment Share on other sites More sharing options...
Ninjamonkey474 Posted May 8, 2013 Author Share 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? Link to comment Share on other sites More sharing options...
Magister Posted May 9, 2013 Share 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 Link to comment Share on other sites More sharing options...
Ninjamonkey474 Posted May 9, 2013 Author Share Posted May 9, 2013 I downloaded the 64-bit version of Java and it will let me use larger amounts of RAM. Thanks everyone! Link to comment Share on other sites More sharing options...
ONeill87 Posted May 9, 2013 Share Posted May 9, 2013 No Problem 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