Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 33993 invoked from network); 27 Apr 2007 07:17:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Apr 2007 07:17:08 -0000 Received: (qmail 88089 invoked by uid 500); 27 Apr 2007 07:17:15 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 88069 invoked by uid 500); 27 Apr 2007 07:17:15 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 88060 invoked by uid 99); 27 Apr 2007 07:17:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 00:17:14 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Apr 2007 00:17:07 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HhKhC-0004ao-Qj for dev@activemq.apache.org; Fri, 27 Apr 2007 00:16:46 -0700 Message-ID: <10214262.post@talk.nabble.com> Date: Fri, 27 Apr 2007 00:16:46 -0700 (PDT) From: anish pathadan To: dev@activemq.apache.org Subject: Re: [jira] Created: (AMQ-1214) threads not stopping causing memory leaks which can lead to OutOfMemoryError In-Reply-To: <2959776.1175007874525.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: anishpathadan@gmail.com References: <2959776.1175007874525.JavaMail.jira@brutus> X-Virus-Checked: Checked by ClamAV on apache.org Hi All, I tested this issue, the threads which are not stopped are readeChecker and writeChecker threads started from InactivityMonitor. These two threads are created as daemon threads. Can anybody please explain me the reason for creating these threads as daemon threads when TCPTransport itself is a non daemon thread. Thanks, Anish JIRA jira@apache.org wrote: > > threads not stopping causing memory leaks which can lead to > OutOfMemoryError > ---------------------------------------------------------------------------- > > Key: AMQ-1214 > URL: https://issues.apache.org/activemq/browse/AMQ-1214 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 4.1.0 > Environment: Fedora Core 6 > Reporter: Xavier Toth > Attachments: threadleak.tar.gz > > Threads started by ActiveMQ on behalf of a client persist in a ThreadGroup > despite calling the 'interrupt' method on the group thereby leaking > memory. > > -- > This message is automatically generated by JIRA. > - > You can reply to this email to add a comment to the issue online. > > > -- View this message in context: http://www.nabble.com/-jira--Created%3A-%28AMQ-1214%29-threads-not-stopping-causing-memory-leaks-which-can-lead-to-OutOfMemoryError-tf3473682s2354.html#a10214262 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.