You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2014/05/27 09:42:01 UTC

[jira] [Comment Edited] (QPID-5786) Memory leak in qpid-java-broker-0.26.tar.gz

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

Keith Wall edited comment on QPID-5786 at 5/27/14 7:40 AM:
-----------------------------------------------------------

Bobby,

I hope to get time to look at this later tonight.  I am not familiar with the bunny.  In order that I know I reproduce the issue accurately, can you attach the qpid.log generated by the Broker during the test run.  Also if you are able to turn on any debug logging from the client side (ideally including a protocol trace) that would be helpful too. 

Could you also verify if you can reproduce the same issue against the Qpid Java Broker 0.28 RC2? 
https://dist.apache.org/repos/dist/dev/qpid/0.28-rc2/

Thanks, Keith



was (Author: k-wall):
Bobby,

I hope to get time to look at this later tonight.  I am not familiar with the bunny.  In order that I know I reproduce the issue accurately, can you attach the qpid.log generated by the Broker during the test run.  Also if you are able to turn on any debug logging from the client side (ideally including a protocol trace, that would be helpful). 

Could you also verify if you can reproduce the same issue against the Qpid Java Broker 0.28 RC2? 
https://dist.apache.org/repos/dist/dev/qpid/0.28-rc2/

Thanks, Keith


> Memory leak in qpid-java-broker-0.26.tar.gz
> -------------------------------------------
>
>                 Key: QPID-5786
>                 URL: https://issues.apache.org/jira/browse/QPID-5786
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>    Affects Versions: 0.26
>         Environment: Linux Mint 15 (64 Bit) - any Linux version should do
> Java // OpenJDK Runtime Environment (IcedTea 2.4.4)
>   also tested with Java(TM) SE Runtime Environment (build 1.6.0_26-b03)
> Ruby 1.8.7
> Ruby Bunny Gem 1.3.0 pre
>            Reporter: Bobby Flitter
>
> When using the hello bunny example program from Ruby together with Apache qpid server the memory consumption of qpid seems to grow continuously.
> Steps to reproduce the problem in Linux:
> wget http://ftp-stud.hs-esslingen.de/pub/Mirrors/ftp.apache.org/dist/qpid/0.26/qpid-java-broker-0.26.tar.gz
> tar xzvf qpid-java-broker-0.26.tar.gz
> cd qpid-broker-0.26/bin/
> ./qpid-server
> - in a new terminal
> - install ruby amqp bunny from github
> git clone https://github.com/ruby-amqp/bunny
> cd bunny/
> gem build bunny.gemspec
> sudo gem install amq-protocol
> sudo gem install --local bunny-1.3.0.pre.gem
> - github version string might be different in the future
> - download hello bunny example
> wget http://pastebin.com/raw.php?i=f6MesMCZ -O hello_bunny.rb
> while true; do ruby hello_bunny.rb ; done
> - in another terminal:
> while true; do grep "^VmRSS" /proc/$(pgrep -f qpid)/status ; sleep 1;done
> - memory consumption of java qpid is growing continuously until OutOfMemoryError ends the server
> Unhandled Exception java.lang.OutOfMemoryError: Java heap space in Thread Thread-1



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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