[ 
https://issues.apache.org/jira/browse/DISPATCH-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16548322#comment-16548322
 ] 

ASF GitHub Bot commented on DISPATCH-1069:
------------------------------------------

GitHub user ganeshmurthy opened a pull request:

    https://github.com/apache/qpid-dispatch/pull/344

    DISPATCH-1069 - Delayed freeing of links and sessions until after the…

    … the processing of the event batch is complete

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ganeshmurthy/qpid-dispatch DISPATCH-1069

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-dispatch/pull/344.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #344
    
----
commit f48d981202fbb5d781f2b32125fbe61af1a82fdc
Author: Ganesh Murthy <gmurthy@...>
Date:   2018-07-18T19:43:39Z

    DISPATCH-1069 - Delayed freeing of links and sessions until after the the 
processing of the event batch is complete

----


> memory grows on a long-lived connection when links are opened and closed
> ------------------------------------------------------------------------
>
>                 Key: DISPATCH-1069
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1069
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Container
>    Affects Versions: 1.2.0
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>            Priority: Major
>             Fix For: 1.3.0
>
>         Attachments: link-leak.c, link-leak.py
>
>
> The attached reproducers link-leak.c and link-leak.py open and close links 
> repeatedly on the same connection. This causes the routers memory use to grow.
> Massif shows that the memory is due to pn_link_t and related objects. 
> PROTON-905 describes an old bug where link information is leaked but 
> experiments show this is not happening with modern proton.
> I suspect the growth is due to dispatch sometimes failing to call 
> pn_link_free() but investigation is still ongoing.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to