Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 9624 invoked from network); 9 Sep 2009 22:40:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Sep 2009 22:40:28 -0000 Received: (qmail 35987 invoked by uid 500); 9 Sep 2009 22:40:28 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 35906 invoked by uid 500); 9 Sep 2009 22:40:28 -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 35898 invoked by uid 99); 9 Sep 2009 22:40:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Sep 2009 22:40:28 +0000 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; Wed, 09 Sep 2009 22:40:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 78938234C044 for ; Wed, 9 Sep 2009 15:39:57 -0700 (PDT) Message-ID: <859132911.1252535997486.JavaMail.jira@brutus> Date: Wed, 9 Sep 2009 15:39:57 -0700 (PDT) From: "Mike Matrigali (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3130) Reduce memory footprint of StoredRecordHeader In-Reply-To: <21049761.1192380650727.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mike Matrigali updated DERBY-3130: ---------------------------------- Fix Version/s: 10.3.3.0 commited 813145: backporting fix (revision 643875) from trunk to 10.3 branch. > Reduce memory footprint of StoredRecordHeader > --------------------------------------------- > > Key: DERBY-3130 > URL: https://issues.apache.org/jira/browse/DERBY-3130 > Project: Derby > Issue Type: Improvement > Components: Store > Affects Versions: 10.4.1.3 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Priority: Minor > Fix For: 10.3.3.0, 10.4.1.3, 10.5.1.1 > > Attachments: d3130-1a.diff, SmallRecordsTest.java, srh.diff > > > Derby's page cache often has a memory footprint that is much larger than pageSize*pageCacheSize. One large contributor to the footprint is the array of StoredPageHeader objects in BasePage. The memory consumed by these objects can be as large as, and sometimes even larger than, the byte arrays containing the raw page data. (See for instance http://www.nabble.com/How-much-derby-need-memory--tf3307655.html.) Reducing the size of the StoredPageHeader objects could therefore reduce Derby's memory footprint significantly, especially if the page cache is large and contains many pages from tables with small records or from indices. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.