Hi,<div><br></div><div>We are using RabbitMQ 2.7.1 Java Client and Server 2.7.1.</div><div>While we were running load tests using our clients we observed that our memory has reached to 2GB.</div><div><br></div><div>Below is the snapshot of heap analysis.</div>
<div><br></div><div>We are closing the channels properly using channel.close().</div><div>Could someone suggest what could be the problem for this memory leak. Do the later versions of RabbitMQ solve this problem?</div><div>
<br></div><div><br></div><div><h1 align="center" style="margin-right:0in;margin-left:0in;font-size:24pt;font-family:&#39;Times New Roman&#39;,serif;text-align:center"><span style="font-family:Times,serif;color:black">Instance Counts for All Classes (excluding platform)</span></h1>
<p class="MsoNormal" style="margin-top:0in;margin-bottom:0.0001pt;margin-right:0in;margin-left:0in;font-size:11pt;font-family:Calibri,sans-serif"><span class="apple-style-span"><span style="font-size:13.5pt;font-family:Times,serif;color:black">311681<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77c6f06a0" target="_blank" style="color:blue;text-decoration:underline">�instances</a>�of�<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77c6f06a0" target="_blank" style="color:blue;text-decoration:underline">class com.rabbitmq.client.impl.AMQCommand</a>�</span></span><span style="font-size:13.5pt;font-family:Times,serif;color:black"><br>
<span class="apple-style-span">311681<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77c6f3228" target="_blank" style="color:blue;text-decoration:underline">�instances</a>�of�<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77c6f3228" target="_blank" style="color:blue;text-decoration:underline">class com.rabbitmq.client.impl.CommandAssembler</a>�</span><br>
<span class="apple-style-span">295730<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77d438380" target="_blank" style="color:blue;text-decoration:underline">�instances</a>�of�<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77d438380" target="_blank" style="color:blue;text-decoration:underline">class com.rabbitmq.client.impl.ChannelN</a>�</span><br>
<span class="apple-style-span">295730<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77d43ff30" target="_blank" style="color:blue;text-decoration:underline">�instances</a>�of�<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77d43ff30" target="_blank" style="color:blue;text-decoration:underline">class com.rabbitmq.client.impl.ConsumerDispatcher</a>�</span><br>
<span class="apple-style-span">295715<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77c60b280" target="_blank" style="color:blue;text-decoration:underline">�instances</a>�of�<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77c60b280" target="_blank" style="color:blue;text-decoration:underline">class com.rabbitmq.client.ShutdownSignalException</a>�</span><br>
<span class="apple-style-span">295703<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77c75a540" target="_blank" style="color:blue;text-decoration:underline">�instances</a>�of�<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77c75a540" target="_blank" style="color:blue;text-decoration:underline">class com.rabbitmq.client.impl.AMQImpl$Channel$Close</a>�</span><br>
<span class="apple-style-span">271315<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77d4d5590" target="_blank" style="color:blue;text-decoration:underline">�instances</a>�of�<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77d4d5590" target="_blank" style="color:blue;text-decoration:underline">class com.rabbitmq.client.QueueingConsumer</a>�</span><br>
<span class="apple-style-span">60523<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77cea18a0" target="_blank" style="color:blue;text-decoration:underline">�instances</a>�of�<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77cea18a0" target="_blank" style="color:blue;text-decoration:underline">class org.json.simple.parser.Yytoken</a>�</span><br>
<span class="apple-style-span">31600<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77c73fa58" target="_blank" style="color:blue;text-decoration:underline">�instances</a>�of�<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77c73fa58" target="_blank" style="color:blue;text-decoration:underline">class com.rabbitmq.client.AMQP$BasicProperties</a>�</span><br>
<span class="apple-style-span">31210<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77d4d7358" target="_blank" style="color:blue;text-decoration:underline">�instances</a>�of�<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77d4d7358" target="_blank" style="color:blue;text-decoration:underline">class com.rabbitmq.client.QueueingConsumer$Delivery</a>�</span><br>
<span class="apple-style-span">31209<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2finstances%2f0x77d4dc1d0" target="_blank" style="color:blue;text-decoration:underline">�instances</a>�of�<a href="redir.aspx?C=dba9a335a30e4feb822ceaa30de7f654&amp;URL=http%3a%2f%2flocalhost%3a7000%2fclass%2f0x77d4dc1d0" target="_blank" style="color:blue;text-decoration:underline">class com.rabbitmq.client.Envelope</a>�</span></span></p>
<p class="MsoNormal" style="margin-top:0in;margin-bottom:0.0001pt;margin-right:0in;margin-left:0in;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:13.5pt;font-family:Times,serif;color:black"><span class="apple-style-span"><br>
</span></span></p><p class="MsoNormal" style="margin-top:0in;margin-bottom:0.0001pt;margin-right:0in;margin-left:0in"><font class="Apple-style-span" face="Times, serif" size="4"><br></font></p></div>