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

Vitaly,

Vitaly Baranovsky 2 wrote:
| I have application developed not by me. This application adds new data to
| http threads at each requests. So, periodically there is memory overload,
| because threads are not destroyed after each request because of thread
pool.

If data is added to the thread (in ThreadLocal?) with every request,
then you will eventually fill-up memory no matter what. Setting minSpare
and maxSpare to zero is likely to result in a thread pool of size 1 (or
stop Tomcat from handling /any/ requests... I'm not sure) where the
single thread lives forever and you run out of memory anyway.

Are you able to modify the application? Perhaps thread-storage is not
ideal...

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

iEYEARECAAYFAkeyFr8ACgkQ9CaO5/Lv0PDLAgCfWOpqexEzxZNleSqxyuugoiPv
BQEAoKTsUlyYC9R8eXQiZhRU4f7BxVCk
=u8ls
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to