Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Virtual Machine / February 2004

Tip: Looking for answers? Try searching our database.

Java Memory-Limits

Thread view: 
Markus Bschorer - 09 Feb 2004 08:34 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.