Hi all,
does anbyody know whether there is a memory-limit for the -Xmx - Value.
We consider a RAM-Expansion from 2GB to 6GB. But we found suspicous advices
in java-mail-archives, which indicates that there is 2GB-Limit.
We are ar currently running on RedHat 9 Kernel 2.4
Thanks for any Advices!
Bye
Steve W. Jackson - 10 Feb 2004 18:38 GMT
>:Hi all,
>:
[quoted text clipped - 6 lines]
>:
>:Bye
I think the actual limit is system dependent. On my XP system, the
largest value I can use is "1578m" -- anything else can't reserve enough
space. On my Mandrake 9.1 box, it's "1902m". I believe that I recall
being able to use a much larger limit on Solaris, but I don't currently
have access to such a system to confirm.
Based on some posts from long ago, I found these limits by simply typing
the command "java -Xmx1092m", for instance, and seeing which ones
produced errors saying they couldn't get the space and which ones
produced a usage error telling me the options with the java command.
= Steve =

Signature
Steve W. Jackson
Montgomery, Alabama
Moazam Raja - 26 Feb 2004 07:48 GMT
(sorry if this is a double posting, my nntp client is acting up)
To my knowledge the maximum heap size on an x86 (IA32) machine is 1.8GB.
This is because the underlying OS/system can not assign more than a 2GB
chunk to a single process.
Of course, you could always run multiple JVMs with 1.8GB heap each and
hence start using more than 2GB RAM, but I doubt this is what you are
looking for.
The solution would be to move to a 64bit machine.
-Moazam
> Hi all,
>
[quoted text clipped - 6 lines]
>
> Bye
Moazam Raja - 26 Feb 2004 07:58 GMT
BTW, JDK 1.5.0 supports 64bit AMD Opteron machines running Linux.
http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html
http://java.sun.com/j2se/1.5.0/system-configurations.html
(the 1.5.0 beta is out)
-Moazam
> (sorry if this is a double posting, my nntp client is acting up)
>
[quoted text clipped - 21 lines]
>>
>> Bye