Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 64108 invoked from network); 1 Sep 2006 12:05:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Sep 2006 12:05:47 -0000 Received: (qmail 57477 invoked by uid 500); 1 Sep 2006 12:05:46 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 57265 invoked by uid 500); 1 Sep 2006 12:05:46 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 57256 invoked by uid 99); 1 Sep 2006 12:05:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Sep 2006 05:05:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Sep 2006 05:05:45 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 572FF41000B for ; Fri, 1 Sep 2006 12:02:23 +0000 (GMT) Message-ID: <14506850.1157112143353.JavaMail.jira@brutus> Date: Fri, 1 Sep 2006 05:02:23 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-1142) Metadata calls leak memory In-Reply-To: <1004750107.1143053645464.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1142?page=all ] Knut Anders Hatlen closed DERBY-1142. ------------------------------------- Fix Version/s: 10.2.1.0 Resolution: Fixed Verified that the fix for DERBY-418 also fixes the remaining problems for this issue. > Metadata calls leak memory > -------------------------- > > Key: DERBY-1142 > URL: http://issues.apache.org/jira/browse/DERBY-1142 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.1.2.1, 10.2.1.0 > Reporter: Knut Anders Hatlen > Priority: Minor > Fix For: 10.2.1.0 > > Attachments: 1142_close_single_use_activations_draft.txt, metadataloop.java > > > When calling a DatabaseMetaData method that returns a ResultSet, > memory is leaked. A loop like this (using the embedded driver) > while (true) { > ResultSet rs = dmd.getSchemas(); > rs.close(); > } > will eventually cause an OutOfMemoryError. -- 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