Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6708

OOME when running ConstraintCharacteristicsTest with smaller heap

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.11.1.1
    • Fix Version/s: 10.11.1.3, 10.12.1.1
    • Component/s: Test
    • Labels:
      None
    • Bug behavior facts:
      Regression Test Failure

      Description

      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.

        Attachments

        1. derby-6708.diff
          7 kB
          Dag H. Wanvik

          Activity

            People

            • Assignee:
              dagw Dag H. Wanvik
              Reporter:
              knutanders Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: