ira, 1 de fevereiro de 2001 7:06
> Para: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'
> Assunto: RE: 46 java threads???
>
> Where are you getting the figure '10Megs per thread' from?
> Each thread shares the same memor
s [mailto:[EMAIL PROTECTED]]
> Sent: 01 February 2001 6:58
> To: [EMAIL PROTECTED]
> Subject: 46 java threads???
>
>
> I have tomcat running through mod_jk along with Apache. When tomcat is
> launched it does so flawlessly but launches FORTY SIX 'java' threads,
> each ta
Aren't they part of a thread pool?
You don't want to initialize a thread every time a request comes; instead,
you better have them ready and waiting to serve incoming petitions. They
won't eat into your memory until they're used, and they share the same
memory.
Actually, for a production server
I have tomcat running through mod_jk along with Apache. When tomcat is
launched it does so flawlessly but launches FORTY SIX 'java' threads,
each taking ~10MB of what gtop declares 'resident' memory (yes, 460MB
total). Now I realize these are probably sharing a memory space (since
I dont HAVE 460M