You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alan Conway (JIRA)" <ji...@apache.org> on 2019/03/05 22:02:00 UTC

[jira] [Assigned] (PROTON-1871) Ruby leaks memory sending messages

     [ https://issues.apache.org/jira/browse/PROTON-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alan Conway reassigned PROTON-1871:
-----------------------------------

    Assignee:     (was: Alan Conway)

> Ruby leaks memory sending messages
> ----------------------------------
>
>                 Key: PROTON-1871
>                 URL: https://issues.apache.org/jira/browse/PROTON-1871
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: ruby-binding
>    Affects Versions: proton-c-0.23.0
>            Reporter: roi costas
>            Priority: Major
>         Attachments: out_amq.rb, valgrind.txt
>
>
> We have developed a simple fluentd output plugin which only sends messages to AMQ. Sending messages with sender.send, memory increases continuously and it is never released, not even when message processing is stopped.
> The qpid-proton code is really simple and we have checked that it is sender.send the one that leaks memory.
> I have run memory_profiler, and the leak does not seem to by in ruby but in C++ code because both the number of objects and bytes remain between constant values. I have tried to debug it with valgrind but I cannot find the source class of the leak.
> I have attached the ruby code, ruby version 2.3.4.



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

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