Derby
  1. Derby
  2. DERBY-5336

Repeated database creation causes OutOfMemoryError

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

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

        Issue Links

          Activity

          Gavin made changes -
          Workflow jira [ 12620442 ] Default workflow, editable Closed status [ 12799105 ]
          Knut Anders Hatlen made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Myrna van Lunteren made changes -
          Fix Version/s 10.8.2.2 [ 12317968 ]
          Fix Version/s 10.8.2.0 [ 12317955 ]
          Knut Anders Hatlen made changes -
          Link This issue is related to DERBY-5472 [ DERBY-5472 ]
          Kristian Waagan made changes -
          Link This issue relates to DERBY-5447 [ DERBY-5447 ]
          Knut Anders Hatlen made changes -
          Link This issue is related to DERBY-5412 [ DERBY-5412 ]
          Myrna van Lunteren made changes -
          Fix Version/s 10.8.2.0 [ 12317955 ]
          Fix Version/s 10.8.1.6 [ 12316676 ]
          Kristian Waagan made changes -
          Status In Progress [ 3 ] Resolved [ 5 ]
          Issue & fix info [Workaround attached, Repro attached, Patch Available] [Repro attached, Workaround attached]
          Fix Version/s 10.8.1.6 [ 12316676 ]
          Fix Version/s 10.9.0.0 [ 12316344 ]
          Resolution Fixed [ 1 ]
          Kristian Waagan made changes -
          Attachment derby-5336-2a-regression_test.diff [ 12489958 ]
          Aja Walker made changes -
          Attachment LicensedRepro.java [ 12489873 ]
          Kristian Waagan made changes -
          Issue & fix info [Workaround attached, Repro attached] [Patch Available, Repro attached, Workaround attached]
          Kristian Waagan made changes -
          Kristian Waagan made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Kristian Waagan made changes -
          Assignee Kristian Waagan [ kristwaa ]
          Knut Anders Hatlen made changes -
          Bug behavior facts [Crash] [Crash, Regression]
          Issue & fix info [Repro attached] [Repro attached, Workaround attached]
          Component/s Services [ 11415 ]
          Component/s Miscellaneous [ 11400 ]
          Aja Walker made changes -
          Summary Creation of multiple databases causes OutOfMemoryError Repeated database creation causes OutOfMemoryError
          Description Creating, querying, updating, and shutting down multiple databases eventually causes OutOfMemoryError.

          Java source reproducing the problem is attached.
          Repeatedly creating, querying, updating, and shutting down a database or databases eventually causes OutOfMemoryError.

          Java source reproducing the problem is attached.
          Aja Walker made changes -
          Field Original Value New Value
          Attachment DerbyOutOfMemoryErrorRepro.java [ 12486511 ]
          Aja Walker created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development