Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0A29D6A1E for ; Thu, 9 Jun 2011 14:51:22 +0000 (UTC) Received: (qmail 12047 invoked by uid 500); 9 Jun 2011 14:51:21 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 12025 invoked by uid 500); 9 Jun 2011 14:51:21 -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 12018 invoked by uid 99); 9 Jun 2011 14:51:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 14:51:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2011 14:51:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C965D10AEF7 for ; Thu, 9 Jun 2011 14:50:58 +0000 (UTC) Date: Thu, 9 Jun 2011 14:50:58 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Message-ID: <1716801895.7120.1307631058821.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <258891369.7083.1307630459120.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-5267) Shut down engine for old versions in upgrade tests to save memory 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-5267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen updated DERBY-5267: -------------------------------------- Issue & fix info: [Patch Available] > Shut down engine for old versions in upgrade tests to save memory > ----------------------------------------------------------------- > > Key: DERBY-5267 > URL: https://issues.apache.org/jira/browse/DERBY-5267 > Project: Derby > Issue Type: Improvement > Components: Test > Affects Versions: 10.9.0.0 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Priority: Minor > Attachments: shutdown-engine.diff > > > The memory requirements for the upgrade tests seem to go up each time we add a new release. Lately, they've started failing on phoneME with the error message saying "Number of class names exceeds vm limit." It looks to me as if the problem is that we don't shut down the engine when we've finished testing a version, so we eventually end up with 19 different versions of the engine loaded in the same process. I think it would be good to shut down the old engines when we're done with them to free up resources. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira