We're running with -Xmx=6g right now. No problems. 64-bit RHEL platform, so you may need a 64-bit OS for that.
-- Robin D. Wilson On Jan 10, 2010, at 8:59 AM, "V Jayakumar" <v...@hotmail.com> wrote: > > All > > > > Thank you all for the replies & the scripts. > > > > It is true that we can find the results through tests. > > > > http://docs.sun.com/app/docs/doc/819-3681/abeii?a=view > > > says that maximum address space for a process in 32 bit version of > Linux is 2 GB. > > > > But am not sure for which version of JRE this limitation is > applicable. > > > > In particular, I expect JRE 1.6 will be able to address more than 2 > GB of space. > > > > In our environment we start Tomcat through > org.apache.catalina.startup.Bootstrap > > > > Before we try our tests with different values for Xmx woud like to > know, if anyone had tried tomcat with higher values for Xmx. > > > > Thanks > > > > > >> Date: Fri, 8 Jan 2010 16:00:43 -0500 >> From: ch...@christopherschultz.net >> To: users@tomcat.apache.org >> Subject: Re: Max heap size >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Chuck, >> >> On 1/8/2010 3:34 PM, Caldarale, Charles R wrote: >>>> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >>>> Subject: Re: Max heap size >>>> >>>> Here's an updated script to check for maximum heap. >>> >>> Just remember that this measures the maximum heap available to an >>> extremely simple process. For a complex execution like Tomcat or >>> some >>> other app server, the amount of space needed for non-heap structures >>> (e.g., open file descriptions, additional native libraries, stacks) >>> might have to be traded off against the Java heap. >> >> Fair enough, but I don't believe the JVM checks the "size" of the >> code >> to be run before deciding if it can launch the JVM: it will simply >> attempt to allocate the memory you request and then launch your >> main method. >> >> Had I used org.apache.catalina.Bootstrap as the main class within the >> same script, I suspect I would have gotten the same results for my >> maximum heap test. >> >> There's nothing to say that the JVM wouldn't shut down after some >> time >> because it ran out of native heap, etc. but I don't think the size of >> the test case here is all that relevant. >> >> - -chris >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.10 (MingW32) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAktHnPsACgkQ9CaO5/Lv0PBH8gCfURoUAUZ5qSF2mD8qg45jJnOH >> twsAn2bBKC46vDLaWdYbVTmm5CrqfdUI >> =Pu6U >> -----END PGP SIGNATURE----- >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > _________________________________________________________________ > Windows Live Hotmail: Your friends can get your Facebook updates, > right from HotmailĀ®. > http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_4:092009