Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 93477 invoked from network); 14 Oct 2007 16:51:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Oct 2007 16:51:49 -0000 Received: (qmail 28387 invoked by uid 500); 14 Oct 2007 16:51:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 28343 invoked by uid 500); 14 Oct 2007 16:51:37 -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 28334 invoked by uid 99); 14 Oct 2007 16:51:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Oct 2007 09:51:37 -0700 X-ASF-Spam-Status: No, hits=-99.8 required=10.0 tests=ALL_TRUSTED,WHOIS_MYPRIVREG 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; Sun, 14 Oct 2007 16:51:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B229371420D for ; Sun, 14 Oct 2007 09:50:50 -0700 (PDT) Message-ID: <21049761.1192380650727.JavaMail.jira@brutus> Date: Sun, 14 Oct 2007 09:50:50 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-3130) Reduce memory footprint of StoredRecordHeader MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.0.0 Reporter: Knut Anders Hatlen Priority: Minor 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.