[rabbitmq-discuss] RabbitMQ Client 2.7.1 Memory Leak?

Vijay Lakshmi vijjivinay at gmail.com
Sat Jul 14 21:00:03 BST 2012


Hi Jerry,

Thanks for the response.
I can not browse the bug 24723 (it says access denied), can you please
provide the details.

Regards,
Vinay

On Sat, Jul 14, 2012 at 9:56 PM, Jerry Kuch <jerryk at rbcon.com> wrote:

> Hi, Vijay:
>
> You may want to upgrade from 2.7.1.  The 2.7.1 Java client had a known and
> now fixed memory leak that might account for what you're seeing:
>
> https://bugzilla.rabbitmq.com/show_bug.cgi?id=24723
>
> Best regards,
> Jerry
>
> On Sat, Jul 14, 2012 at 7:35 AM, Vijay Lakshmi <vijjivinay at gmail.com>wrote:
>
>> Hi,
>>
>> We are using RabbitMQ 2.7.1 Java Client and Server 2.7.1.
>> While we were running load tests using our clients we observed that our
>> memory has reached to 2GB.
>>
>> Below is the snapshot of heap analysis.
>>
>> We are closing the channels properly using channel.close().
>> Could someone suggest what could be the problem for this memory leak. Do
>> the later versions of RabbitMQ solve this problem?
>>
>>
>> Instance Counts for All Classes (excluding platform)
>>
>> 311681 instances<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77c6f06a0>
>>  of class com.rabbitmq.client.impl.AMQCommand<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77c6f06a0>
>>
>> 311681 instances<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77c6f3228>
>>  of class com.rabbitmq.client.impl.CommandAssembler<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77c6f3228>
>>
>> 295730 instances<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77d438380>
>>  of class com.rabbitmq.client.impl.ChannelN<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77d438380>
>>
>> 295730 instances<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77d43ff30>
>>  of class com.rabbitmq.client.impl.ConsumerDispatcher<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77d43ff30>
>>
>> 295715 instances<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77c60b280>
>>  of class com.rabbitmq.client.ShutdownSignalException<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77c60b280>
>>
>> 295703 instances<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77c75a540>
>>  of class com.rabbitmq.client.impl.AMQImpl$Channel$Close<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77c75a540>
>>
>> 271315 instances<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77d4d5590>
>>  of class com.rabbitmq.client.QueueingConsumer<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77d4d5590>
>>
>> 60523 instances<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77cea18a0>
>>  of class org.json.simple.parser.Yytoken<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77cea18a0>
>>
>> 31600 instances<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77c73fa58>
>>  of class com.rabbitmq.client.AMQP$BasicProperties<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77c73fa58>
>>
>> 31210 instances<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77d4d7358>
>>  of class com.rabbitmq.client.QueueingConsumer$Delivery<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77d4d7358>
>>
>> 31209 instances<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77d4dc1d0>
>>  of class com.rabbitmq.client.Envelope<http://redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77d4dc1d0>
>>
>>
>>
>>
>>
>> _______________________________________________
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>
>>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120715/d24c2ef3/attachment.htm>


More information about the rabbitmq-discuss mailing list