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

Make UpdatableResultSetTest less hungry on heap space

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.9.1.0
    • Component/s: Test
    • Labels:
      None

      Description

      UpdatableResultSetTest fails with an OutOfMemoryError in my environment when I run it with a 50 MB heap. Some of its test cases open close to 900 statements, and they leave many of the statements open till tearDown(). It would be good if the test cases cleaned up the open statements earlier to avoid these peaks in memory usage.

        Attachments

        1. d5701-1a.diff
          4 kB
          Knut Anders Hatlen

          Activity

            People

            • Assignee:
              knutanders Knut Anders Hatlen
              Reporter:
              knutanders Knut Anders Hatlen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: