Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@apache.org Received: (qmail 16289 invoked from network); 25 May 2002 14:37:20 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 25 May 2002 14:37:20 -0000 Received: (qmail 24677 invoked by uid 97); 25 May 2002 14:37:16 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-dev@jakarta.apache.org Received: (qmail 24627 invoked by uid 97); 25 May 2002 14:37:14 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 24592 invoked by uid 50); 25 May 2002 14:37:13 -0000 Date: 25 May 2002 14:37:13 -0000 Message-ID: <20020525143713.24590.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 9416] - Memory usage by Tomcat X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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: For additional commands, e-mail: