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

Memory leak on server when using "SET ROLE" command

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.5.1.1, 10.5.3.0
    • Fix Version/s: 10.5.3.1, 10.6.1.0
    • Component/s: Network Server
    • Labels:
    • Environment:
      Windows XP, Java 6 (build doesn't matter: 10-18)
    • Bug behavior facts:
      Crash, Data corruption

      Description

      Scenario:
      -connect into database
      -use command SET ROLE
      -repeat simple selects many times -> memory consumtions ends with database "outOfMemory: heap space" crash.

      Sometimes this crash ends with loosing (of course previously commited) data in different tables - this is in the case using "UPDATE" etc. command.
      Without command SET ROLE everythings works OK.

        Attachments

        1. derby-4571-1a.stat
          0.2 kB
          Knut Anders Hatlen
        2. derby-4571-1a.diff
          5 kB
          Knut Anders Hatlen
        3. test.diff
          4 kB
          Knut Anders Hatlen
        4. clear_deps.diff
          0.6 kB
          Knut Anders Hatlen
        5. memRole.sql
          0.8 kB
          Knut Anders Hatlen
        6. memRole.sql
          0.8 kB
          Roman Musil
        7. DbRoleMemoryLeak.java
          0.8 kB
          Roman Musil
        8. D4571.java
          0.6 kB
          Knut Anders Hatlen

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: