tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat
Date Thu, 14 Apr 2011 10:10:49 GMT
Jaroslav Fikker wrote:
> Hi,
> I apologize for my stupid question but I am not Linux specialist.
> Is there some recommendation for using 32bit java (and APR) on 64bit RedHat?

It is not a stupid question.  Proof : I have the same question. :-)

If you allow me to hijack your post, my question is :

If my server has a 64-bit capable CPU, a 64-bit Linux O.S., and 8 GB of RAM,
and I have a tomcat which runs only one or two small webapps, and is unlikely to ever need

more than e.g. 1 GB of RAM,
is there any advantage (or inconvenient) in running this Tomcat in a 64-bit (or 32-bit) JVM

 From previous posts on this list, I gather that basically the only advantage of using a 
64-bit JVM, is that one can allocate more than 2-3 GB of RAM to the JVM.
But on the other hand, for the same workload, a 64-bit JVM will use a significantly larger

amount of RAM, without immediate benefits.  True/false ?

So for the above Tomcat, I would use less resources, without sacrificing performance, by 
running it in a 32-bit JVM.  True/false ?

And if for some other Java application on the same server, I needed more than 2 GB or RAM,

I could always run that one in a separate 64-bit JVM. True/false ?

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message