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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...