Jump to content

Recommended Posts

Posted

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.

Posted

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)?

Posted

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.

Posted

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

Posted

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

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