[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [rhelv5-list] Max address space for a process in 32 bit version of Linux



2010/1/11 Jay <difficult_id yahoo com>
>
> If 32 bit JRE is not able to access more than 2700 MB, would like to know, if it is the limitation of JRE or the OS ?
>
> Would like to know, if there is there any patch to circumvent this problem ?
>


It's a bit of both.  A 32 bit cannot address more than 4GB; some of
what an application needs to address is outside userspace, but it
still needs to address it.  There used to be a hugemem kernel (or
something like that) that would allow an application to address more
data in userspace, but not in RHEL5.

The "patch" is to install a 64 bit OS.  If you must run in a 32 bit
JRE then you'll be able to have 3500MB for the JRE, if not then you'll
be able to have whatever the maximum the OS is prepared to support.

It's worth pointing out that running large apps in a 32 bit OS is
fraught with problems: running out of memory, for example, even when
you appear to have loads available.   You're really much better off
running a 64 bit OS.

jch


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]