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

Repeated database creation causes OutOfMemoryError

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.8.1.2
    • Fix Version/s: 10.8.2.2, 10.9.1.0
    • Component/s: Services
    • Labels:
      None
    • Environment:
      Windows 7 64-bit, jdk1.6.0_26
    • Urgency:
      Normal
    • Issue & fix info:
      Repro attached, Workaround attached
    • Bug behavior facts:
      Crash, Regression

      Description

      Repeatedly creating, querying, updating, and shutting down a database or databases eventually causes OutOfMemoryError.

      Java source reproducing the problem is attached.

        Attachments

        1. derby-5336-1a-remove_context_on_stop.diff
          0.8 kB
          Kristian Waagan
        2. derby-5336-2a-regression_test.diff
          5 kB
          Kristian Waagan
        3. DerbyOutOfMemoryErrorRepro.java
          3 kB
          Aja Walker
        4. LicensedRepro.java
          3 kB
          Aja Walker

          Issue Links

            Activity

              People

              • Assignee:
                kristwaa Kristian Waagan
                Reporter:
                psiolent Aja Walker
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: