Derby
  1. Derby
  2. DERBY-5701

Make UpdatableResultSetTest less hungry on heap space

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor 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.

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development