You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Yang XU (JIRA)" <ji...@apache.org> on 2011/07/30 06:06:09 UTC

[jira] [Created] (QPID-3379) QPID python client API, Memory leaking with RangedSet class

QPID python client API, Memory leaking with RangedSet class
-----------------------------------------------------------

                 Key: QPID-3379
                 URL: https://issues.apache.org/jira/browse/QPID-3379
             Project: Qpid
          Issue Type: Bug
          Components: Python Client
    Affects Versions: 0.10, 0.8
         Environment: winxp; intel E7500; 2G
            Reporter: Yang XU


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org