You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2002/05/25 16:37:13 UTC

DO NOT REPLY [Bug 9416] - Memory usage by Tomcat

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9416>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9416

Memory usage by Tomcat





------- Additional Comments From pier@betaversion.org  2002-05-25 14:37 -------
Your code is bogus because it keeps creating thread object, which are stored as a reference by 
the ThreadGroup of the thread which created them (it should be a weak referece, so at the end 
it should go away, but I'm not that positive about it, AFAICR the reference in the thread group 
gets removed only after the run method returns or throws an exception).
Also, creating 1000 threads in a process, is surely a recipe for going into troubles soon.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>