LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   32bit Tomcat on 64bit RHEL - Maximum heapsize ??? (http://www.linuxquestions.org/questions/linux-server-73/32bit-tomcat-on-64bit-rhel-maximum-heapsize-892724/)

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.

Code:

-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 ?


greetz

Dlugasx

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 11:17 PM.