Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 47712 invoked from network); 16 May 2007 13:24:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2007 13:24:37 -0000 Received: (qmail 34766 invoked by uid 500); 16 May 2007 13:24:43 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 34738 invoked by uid 500); 16 May 2007 13:24:43 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 34729 invoked by uid 99); 16 May 2007 13:24:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2007 06:24:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 May 2007 06:24:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 68A44714043 for ; Wed, 16 May 2007 06:24:16 -0700 (PDT) Message-ID: <5264389.1179321856425.JavaMail.jira@brutus> Date: Wed, 16 May 2007 06:24:16 -0700 (PDT) From: "Gregory Shimansky (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-2697) [drlvm] Un-end()-ed deflaters leak native memory In-Reply-To: <31900841.1166105841118.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-2697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gregory Shimansky updated HARMONY-2697: --------------------------------------- Summary: [drlvm] Un-end()-ed deflaters leak native memory (was: [drlvm][zip] Un-end()-ed deflaters leak native memory) I removed [zip] category because it doesn't fully describe the problem of large native resources associated with java objects. > [drlvm] Un-end()-ed deflaters leak native memory > ------------------------------------------------ > > Key: HARMONY-2697 > URL: https://issues.apache.org/jira/browse/HARMONY-2697 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Environment: Windows XP i686 > Reporter: Salikh Zakirov > Priority: Minor > Attachments: DeflateInflate.java > > > The attached test DeflateInflate.java quickly leaks memory and crashes on DRLVM. > The test works okay on J9 and HotSpot. > Note, that JRockit also leaks memory and crashes. > Effectively, the test creates huge amounts of java objects, which keep pointers to blocks allocated > in native heap. The native heap is exhausted before java heap is filled, so no garbage collection > occurs. Should the java collection occur, it would be able to detect unreachable finalizable objects, > run finalizers, which in turn will free native memory. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.