Qpid
  1. Qpid
  2. QPID-3014

an inbalance in use of the CurrentActor stack holds 0-10 connections in memory after they are closed

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.8
    • Fix Version/s: 0.9
    • Component/s: Java Broker
    • Labels:
      None

      Description

      An inbalance in use of the CurrentActor stack holds 0-10 connections in memory after they are closed. Simply by opening and closing hundreds of connections, the broker can made to OOM. Analysis of the heap dump shows that the Threadlocal stacks used for CurrentActor are holding the connections in memory.

        Activity

        Hide
        Robbie Gemmell added a comment -

        Andrew can you review please? Thanks.

        Show
        Robbie Gemmell added a comment - Andrew can you review please? Thanks.
        Hide
        Andrew Kennedy added a comment -

        I would have moved the saving of _logActor in ServerConnection to the no-arg ctor, just to make it explicit what we're doing, but they are (should be) semantically identical.

        Show
        Andrew Kennedy added a comment - I would have moved the saving of _logActor in ServerConnection to the no-arg ctor, just to make it explicit what we're doing, but they are (should be) semantically identical.
        Hide
        Andrew Kennedy added a comment -

        Works.

        Show
        Andrew Kennedy added a comment - Works.

          People

          • Assignee:
            Andrew Kennedy
            Reporter:
            Robbie Gemmell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development