[ https://issues.apache.org/jira/browse/PROTON-1871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16523869#comment-16523869 ]
Alan Conway commented on PROTON-1871: ------------------------------------- FYI - some time ago I wrote a fluentd plugin based on proton: [https://github.com/ViaQ/docker-fluentd/tree/master/amqp_qpid] Just in case it is of interest, it has nothing to do with the bug you've reported. I'll investigate the memory leak, thanks for reporting it. > 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, 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-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org