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

roi costas updated PROTON-1871:
-------------------------------
    Description: 
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.

  was:
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 attached the code.


> 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
>            Assignee: Alan Conway
>            Priority: Major
>         Attachments: out_amq.rb
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to