Derby
  1. Derby
  2. DERBY-4571

Memory leak on server when using "SET ROLE" command

    Details

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

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

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development