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 D6DF31180A for ; Thu, 21 Aug 2014 15:53:11 +0000 (UTC) Received: (qmail 70663 invoked by uid 500); 21 Aug 2014 15:53:11 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 70638 invoked by uid 500); 21 Aug 2014 15:53:11 -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 70627 invoked by uid 99); 21 Aug 2014 15:53:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Aug 2014 15:53:11 +0000 Date: Thu, 21 Aug 2014 15:53:11 +0000 (UTC) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DERBY-6708) OOME when running ConstraintCharacteristicsTest with smaller heap MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dag H. Wanvik resolved DERBY-6708. ---------------------------------- Resolution: Fixed Fix Version/s: 10.12.0.0 > OOME when running ConstraintCharacteristicsTest with smaller heap > ----------------------------------------------------------------- > > Key: DERBY-6708 > URL: https://issues.apache.org/jira/browse/DERBY-6708 > Project: Derby > Issue Type: Bug > Components: Test > Affects Versions: 10.11.1.1 > Reporter: Knut Anders Hatlen > Assignee: Dag H. Wanvik > Fix For: 10.12.0.0 > > Attachments: derby-6708.diff > > > When I ran suites.All on a device with little memory, so that I needed to reduce the heap (-Xmx160M), it stopped and failed with an OOME when it came to ConstraintCharacteristicsTest. > That test uses a memory database in order to speed it up. One of the test cases (testManySimilarDuplicates) has such a big data set that the database doesn't fit in the heap. It would be good if we could reduce the memory requirements of the test so that it passes on smaller devices to. Alternatively, we could add a switch that makes it easy to disable test cases that are known to have high memory requirements. -- This message was sent by Atlassian JIRA (v6.2#6252)