Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 27479 invoked from network); 3 Apr 2008 21:46:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2008 21:46:05 -0000 Received: (qmail 87385 invoked by uid 500); 3 Apr 2008 21:46:00 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 87360 invoked by uid 500); 3 Apr 2008 21:46:00 -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 87323 invoked by uid 99); 3 Apr 2008 21:45:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 14:45:59 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 21:45:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7C31B234C0BD for ; Thu, 3 Apr 2008 14:43:24 -0700 (PDT) Message-ID: <361589484.1207259004507.JavaMail.jira@brutus> Date: Thu, 3 Apr 2008 14:43:24 -0700 (PDT) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3354) Select from large lob table with embedded gives OutOfMemoryError In-Reply-To: <20467307.1201549894825.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/DERBY-3354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585299#action_12585299 ] Kristian Waagan commented on DERBY-3354: ---------------------------------------- I haven't validated the approach, but it seems reasonable. I applied the patch and compiled Derby. Some *very minor* things you can consider changing: 1) Typos: "refrences" -> "references" (5 occurrences) 2) Use of a space between the method call / declaration and the following parenthesis is not consistent. 3) Trailing whitespace at diff lines 28, 107 and 148. 4) You could change the comment for the weak hash map to JavaDoc. Nice and small change :) Is this the final patch, or are the more coming up? > Select from large lob table with embedded gives OutOfMemoryError > ---------------------------------------------------------------- > > Key: DERBY-3354 > URL: https://issues.apache.org/jira/browse/DERBY-3354 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.3.1.4, 10.3.2.1, 10.4.0.0 > Reporter: Kathey Marsden > Assignee: Anurag Shekhar > Attachments: derby-3354.diff, derby-3354_preview.diff, derby-3354_v1.diff, LocLeak.java > > > Retrieving from a large table with lobs gives an OutOfMemoryException, even if free() is explictly called on the lob. I believe this is because EmbedConnection.addLobMapping is called for every lob creation but is never cleared until commit or rollback, even if the lob is freed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.