<br>hi,peter, but when i set the immediate bit false, then the broker&#39;s memory is not pilling up.<br>the problem is the rabbitmq server&#39;s memory is pilling up but not my program,<br><br><div class="gmail_quote">2012/11/7 Peter Soukalopoulos <span dir="ltr">&lt;<a href="mailto:peter@greenbutton.com" target="_blank">peter@greenbutton.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Sounds like a resource leak in your application. Ensure that you close the connection after publishing.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">See <a href="http://www.rabbitmq.com/api-guide.html" target="_blank">http://www.rabbitmq.com/api-guide.html</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><i><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ">Regards,<u></u><u></u></span></i></p>
<p class="MsoNormal"><i><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ">Peter<u></u><u></u></span></i></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ"><u></u>&nbsp;<u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:13.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:gray" lang="EN-NZ">Peter</span></b><b><span style="font-size:13.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#4181c0" lang="EN-NZ"> </span></b><b><span style="font-size:13.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#82823f" lang="EN-NZ">Soukalopoulos</span></b><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ"> <br>
</span><b><span style="font-size:7.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#5f5f5f" lang="EN-NZ">Development Team Leader | </span></b><b><span style="font-size:7.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#3f621f" lang="EN-NZ">GreenButton Limited </span></b><span style="font-size:7.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ">| <a href="http://www.greenbutton.com/" target="_blank"><span style="color:blue">www.greenbutton.com</span></a><br>
Level 13, Simpl House, 40 Mercer Street, Wellington, New Zealand</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ"> <br></span><span style="font-size:7.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ">Mobile: <a href="tel:%2B64%2022%20632%205023" value="+64226325023" target="_blank">+64 22 632 5023</a></span><span style="font-size:7.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#008250" lang="EN-NZ">|</span><span style="font-size:7.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ"> <a href="mailto:peter.soukalopoulos@greenbutton.com" target="_blank"><span style="color:blue">peter.soukalopoulos@greenbutton.com</span></a></span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ"> </span><span style="font-size:7.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;" lang="EN-NZ">| </span><span style="font-size:7.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ">Skype</span><span style="font-size:7.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;" lang="EN-NZ">: psoukal | </span><span style="font-size:7.5pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ">HQ</span><span style="font-size:7.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;" lang="EN-NZ">:&nbsp;<a href="tel:%2B644%20499%200424" value="+6444990424" target="_blank">+644 499 0424</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><img src="cid:image001.png@01CDBD05.5C17C440" alt="Description: Description: GreenButton_words_small" border="0" height="58" width="121">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="cid:image002.jpg@01CDBD05.5C17C440" alt="Description: cid:image003.jpg@01CC4E01.BA075BC0" border="0" height="70" width="276"></span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ"><br>
</span><span style="font-size:9.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">This message contains confidential information, intended only for the&nbsp;person(s) named above, which may also be privileged. Any use, distribution, copying or disclosure by any other person is strictly prohibited. In such case, you should delete this message and kindly notify the sender via reply e-mail. Please advise immediately if you or your employer does not consent to Internet e-mail for messages of this kind.</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d" lang="EN-NZ"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:rabbitmq-discuss-bounces@lists.rabbitmq.com" target="_blank">rabbitmq-discuss-bounces@lists.rabbitmq.com</a> [mailto:<a href="mailto:rabbitmq-discuss-bounces@lists.rabbitmq.com" target="_blank">rabbitmq-discuss-bounces@lists.rabbitmq.com</a>] <b>On Behalf Of </b>???<br>
<b>Sent:</b> Wednesday, 7 November 2012 4:28 p.m.<br><b>To:</b> <a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br><b>Subject:</b> [rabbitmq-discuss] publish msg in immediate mode and rabbitmq server&#39;s memory is pilling up<u></u><u></u></span></p>
<div class="im"><p class="MsoNormal"><u></u>&nbsp;<u></u></p><p class="MsoNormal"><span><span style="font-size:10.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333;background:#fbfbfb">hi ,i got a problem that when i continuously publishing msg while setting immediate bit true, i found that rabbitmq server&#39;s memory is pilling up. it wouldn&#39;t release these memory until my publishing program finished.</span></span><span style="font-size:10.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;;color:#333333;background:#fbfbfb"><br>
<span>can anybody explain it?</span></span> <u></u><u></u></p></div></div></div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>南京大学 软件学院 陈宇剑<br>