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

Memory leak on server when using "SET ROLE" command

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.5.1.1, 10.5.3.0
    • 10.5.3.1, 10.6.1.0
    • Network Server
    • Windows XP, Java 6 (build doesn't matter: 10-18)
    • 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. 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment