-   Linux - Server (
-   -   32bit Tomcat on 64bit RHEL - Maximum heapsize ??? (

dlugasx 07-20-2011 08:15 AM

32bit Tomcat on 64bit RHEL - Maximum heapsize ???
Hi Gurus,

I have running 32bit Tomcat on 64bit Redhat machine. What is the maximum Xms Heapsize for 32bit applikation working in 64bit environment.


-Xms2048M -Xmx3300M
Today I saw that my Tomcat swapping. Seems to bee problem with memory. Does anyone could tell me what kind of heap size should I use ?



SL00b 07-20-2011 09:00 AM

The highest theoretical limit of any 32-bit application is 4GB (2^32), but Tomcat could be limiting things below that threshhold. I've seen other JVMs where the limit is 2GB for a 32-bit implementation.

If you're going to 2GB as your initial heap size, I'd say you need to go to 64-bit.

All times are GMT -5. The time now is 10:25 AM.