Qpid
  1. Qpid
  2. QPID-3379

QPID python client API, Memory leaking with RangedSet class

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.8, 0.10
    • Fix Version/s: None
    • Component/s: Python Client
    • Labels:
      None
    • Environment:

      winxp; intel E7500; 2G

      Description

      Feedbacking to server the messages that client had beed received, client should use:
      >>> RS = RangedSet()
      >>> for msg in msg_been_received:
      >>> RS.add(msg.id)
      >>> session.message_accept(RS)
      In my application, I found that the used RS.ranges spaces can not be collected by python. I have to use an explicit call
      >>> del RS.ranges[:]
      otherwise, the memory will rise slowly but steady.

        Activity

        Yang XU created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Yang XU
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development