db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-6708) OOME when running ConstraintCharacteristicsTest with smaller heap
Date Fri, 15 Aug 2014 06:22:18 GMT
Knut Anders Hatlen created DERBY-6708:

             Summary: 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:
            Reporter: Knut Anders Hatlen

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

View raw message