Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Advice about Tomcat on x86_64 architecture..

Christopher Schultz

2007-07-10

Replies:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Titi,

Titi Wangsa wrote:
> we have 3 instances on the same hardware
> we did this due to a memory/thread constraint
> correct me if i'm mistaken, but i've read that
> the more memory you allocate for you Heap, the less thread you have,
> we want a lot of memory
> and a lot of threads
> so we opted to do 3 instances on the same hardware

32-bit JVMs have somewhat limited memory (somewhere around 2GB depending
on the platform). 64-bit JVMs can support a /lot/ more. You don't
necessarily have to trade-off between threads and heap.

Actually, I have no idea how to allow more threads in a JVM. I would
imagine that they are simply limited my the amount of (Java heap as well
as JVM) memory you have available and the process thread limit set in
your OS.

I suppose if the only way to support 8192 threads is to run two
4096-thread processes at once, that's what you gotta do.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGk43e9CaO5/Lv0PARAjjXAKC36ck9hnQdIdqFyCtUgctrUT6V6gCgitPi
Obq+s0TPSPNjGy3cReQqM8g=
=SdbW
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.