Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 64148 invoked from network); 6 Oct 2006 15:30:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Oct 2006 15:30:36 -0000 Received: (qmail 30541 invoked by uid 500); 6 Oct 2006 15:30:35 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 30513 invoked by uid 500); 6 Oct 2006 15:30:35 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 30502 invoked by uid 99); 6 Oct 2006 15:30:35 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Oct 2006 08:30:35 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:35860] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 2D/E3-24193-B9676254 for ; Fri, 06 Oct 2006 08:30:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DB7517141D1 for ; Fri, 6 Oct 2006 08:30:20 -0700 (PDT) Message-ID: <22371749.1160148620896.JavaMail.root@brutus> Date: Fri, 6 Oct 2006 08:30:20 -0700 (PDT) From: "Nikolay Kuznetsov (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Updated: (HARMONY-1761) [DRLVM]Memory leak in thread creation In-Reply-To: <27356067.1160147960840.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1761?page=all ] Nikolay Kuznetsov updated HARMONY-1761: --------------------------------------- Attachment: Test.java Attached example demonstrates the problem; it creates threads which sleep for a millisecond and then exit. After approx 200000 thread creation VM crashes with 2GB memory consumed. > [DRLVM]Memory leak in thread creation > ------------------------------------- > > Key: HARMONY-1761 > URL: http://issues.apache.org/jira/browse/HARMONY-1761 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Nikolay Kuznetsov > Attachments: Test.java > > > During every single thread creation we create APR pool to allocate structure containing parameters for new thread run method. This pool is never being reused or destroyed and costs 8k for every thread being created. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira