On 04/14/2011 12:10 PM, André Warnier wrote:
Jaroslav Fikker wrote:
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 ?
I totally agree with you. If you don't need huge memory use 32-bit JVM
It is as well more then 30% memory efficient for the same application.
I have a simple MemoryTest.java that can prove that easily.
However not all 64-bit linux boxes have 32-bit JVM support,
so not a general solution. Also neither -d32/-d64 works
(Although I'm working on a OpenJDK patches for that, but the
OpenJDK community, is well ... fill in the gaps :)
Regards
--
^TM
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org