andrewman986 Posted December 11, 2012 Posted December 11, 2012 Hey guys, I run a server on an old windows XP desktop that is running 32 bit with 32 bit java. Now what I want to do is allocate more RAM to my server so that the lag is reduced. I have enough RAM to do this, but alas, I get the "cannot reserve enough memory" message. I am aware of the restriction that Java has placed upon 32 bit users with regards to how much RAM one can allocate to a given program, but what I want to know is 1) Is there a way around this restriction? and 2) Do "you" know of any good techniques to reduce lag on a server? -Thank you for your responses.
Arucard Davitto Posted December 12, 2012 Posted December 12, 2012 Have you tried using this guide? http://www.minecraftwiki.net/wiki/Setting_up_a_server#Increasing_the_amount_of_RAM_allocated_to_the_Minecraft_server
andrewman986 Posted December 12, 2012 Author Posted December 12, 2012 Well, I am using a batch file already, but the problem is whenever I bump up how much RAM is allocated, I get the "cannot reserve enough memory" error. This is, of course, expected because I am running a 32 bit OS. The question is, Is there a way around this restriction (I can only use up to 1318M of RAM)?
Azeryn Posted December 12, 2012 Posted December 12, 2012 If you're getting an error because you cannot reserve enough RAM, it's because you don't have enough RAM. To get around this restriction, you add more RAM.
Silent Posted December 12, 2012 Posted December 12, 2012 You shouldn't host servers on 32bit systems or Windows XP
andrewman986 Posted December 13, 2012 Author Posted December 13, 2012 Hmmmmm, well, I was getting this error, so I added 1G of RAM. Is still didn't work, so I came here. As far as th not hosting server on 32bit or XP goes, those are my only options. (Unless of course there is a way to get a new OS and/or a 64 bit OS for free, or a cheap price...)
Azeryn Posted December 13, 2012 Posted December 13, 2012 How much RAM is in your computer? And can you post what's in your batch file.
Silent Posted December 13, 2012 Posted December 13, 2012 If you're using the desktop only for hosting install Ubuntu on it
andrewman986 Posted December 14, 2012 Author Posted December 14, 2012 ok: I have 3328M of RAM. Here is my batch file: java -Xmx1318M -Xms1318M -jar Tekkit.jar nogui --nojline pause and also, what is this "Ubuntu" and what does it do?
Wendo Posted December 14, 2012 Posted December 14, 2012 The short answer, is no, you can't allocate more memory to a 32bit java process. You need a 64bit OS, either 64bit windows or a version of Linux (of which Ubuntu is one). No where do you actually say what your hardware is. You may have the additional problem of having a machine that isn't 64bit capable, it's unlikely as the machine would need to be ~10 years old, but not impossible
andrewman986 Posted December 14, 2012 Author Posted December 14, 2012 um, ya, its 12 years old... But thanks for the help.
Wendo Posted December 15, 2012 Posted December 15, 2012 It may still be 64bit capable, but you'd need to run CPUID to find out
andrewman986 Posted December 15, 2012 Author Posted December 15, 2012 oh, Well, I will do that on Sunday when I get beck home, but thanks. I have CUPID but I have not thought to look at it for this problem. Thanks!
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