<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=gb2312"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:SimSun;
        mso-fareast-language:ZH-CN;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:ZH-CN;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:ZH-CN;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’m not sure sorry.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><i><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Regards,<o:p></o:p></span></i></p><p class=MsoNormal><i><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Peter<o:p></o:p></span></i></p><p class=MsoNormal><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span lang=EN-NZ style='font-size:13.5pt;font-family:"Calibri","sans-serif";color:gray;mso-fareast-language:EN-US'>Peter</span></b><b><span lang=EN-NZ style='font-size:13.5pt;font-family:"Calibri","sans-serif";color:#4181C0;mso-fareast-language:EN-US'> </span></b><b><span lang=EN-NZ style='font-size:13.5pt;font-family:"Calibri","sans-serif";color:#82823F;mso-fareast-language:EN-US'>Soukalopoulos</span></b><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'> <br></span><b><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#5F5F5F;mso-fareast-language:EN-US'>Development Team Leader | </span></b><b><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#3F621F;mso-fareast-language:EN-US'>GreenButton Limited </span></b><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>| <a href="http://www.greenbutton.com/">www.greenbutton.com</a><br>Level 13, Simpl House, 40 Mercer Street, Wellington, New Zealand</span><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'> <br></span><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Mobile: +64 22 632 5023</span><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#008250;mso-fareast-language:EN-US'>|</span><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'> <a href="mailto:peter.soukalopoulos@greenbutton.com">peter.soukalopoulos@greenbutton.com</a></span><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'> </span><span lang=EN-NZ style='font-size:7.0pt;font-family:"Helvetica","sans-serif";color:black;mso-fareast-language:EN-US'>| </span><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>Skype</span><span lang=EN-NZ style='font-size:7.0pt;font-family:"Helvetica","sans-serif";color:black;mso-fareast-language:EN-US'>: psoukal | </span><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>HQ</span><span lang=EN-NZ style='font-size:7.0pt;font-family:"Helvetica","sans-serif";color:black;mso-fareast-language:EN-US'>:&nbsp;+644 499 0424<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><img border=0 width=121 height=58 id="Picture_x0020_1" src="cid:image001.png@01CDBD0A.21CC6B60" alt="Description: Description: GreenButton_words_small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img border=0 width=276 height=70 id="Picture_x0020_2" src="cid:image002.jpg@01CDBD0A.21CC6B60" alt="Description: cid:image003.jpg@01CC4E01.BA075BC0"></span><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><br></span><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'>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 lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D;mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> rabbitmq-discuss-bounces@lists.rabbitmq.com [mailto:rabbitmq-discuss-bounces@lists.rabbitmq.com] <b>On Behalf Of </b>???<br><b>Sent:</b> Wednesday, 7 November 2012 4:40 p.m.<br><b>To:</b> Discussions about RabbitMQ<br><b>Subject:</b> Re: [rabbitmq-discuss] publish msg in immediate mode and rabbitmq server's memory is pilling up<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><br>hi,peter, but when i set the immediate bit false, then the broker's memory is not pilling up.<br>the problem is the rabbitmq server's memory is pilling up but not my program,<o:p></o:p></p><div><p class=MsoNormal>2012/11/7 Peter Soukalopoulos &lt;<a href="mailto:peter@greenbutton.com" target="_blank">peter@greenbutton.com</a>&gt;<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Sounds like a resource leak in your application. Ensure that you close the connection after publishing.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>See <a href="http://www.rabbitmq.com/api-guide.html" target="_blank">http://www.rabbitmq.com/api-guide.html</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><i><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Regards,</span></i><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><i><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Peter</span></i><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span lang=EN-NZ style='font-size:13.5pt;font-family:"Calibri","sans-serif";color:gray'>Peter</span></b><b><span lang=EN-NZ style='font-size:13.5pt;font-family:"Calibri","sans-serif";color:#4181C0'> </span></b><b><span lang=EN-NZ style='font-size:13.5pt;font-family:"Calibri","sans-serif";color:#82823F'>Soukalopoulos</span></b><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <br></span><b><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#5F5F5F'>Development Team Leader | </span></b><b><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#3F621F'>GreenButton Limited </span></b><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>| <a href="http://www.greenbutton.com/" target="_blank">www.greenbutton.com</a><br>Level 13, Simpl House, 40 Mercer Street, Wellington, New Zealand</span><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> <br></span><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>Mobile: <a href="tel:%2B64%2022%20632%205023" target="_blank">+64 22 632 5023</a></span><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#008250'>|</span><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#1F497D'> <a href="mailto:peter.soukalopoulos@greenbutton.com" target="_blank">peter.soukalopoulos@greenbutton.com</a></span><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><span lang=EN-NZ style='font-size:7.0pt;font-family:"Helvetica","sans-serif"'>| </span><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>Skype</span><span lang=EN-NZ style='font-size:7.0pt;font-family:"Helvetica","sans-serif"'>: psoukal | </span><span lang=EN-NZ style='font-size:7.5pt;font-family:"Calibri","sans-serif";color:#1F497D'>HQ</span><span lang=EN-NZ style='font-size:7.0pt;font-family:"Helvetica","sans-serif"'>:&nbsp;<a href="tel:%2B644%20499%200424" target="_blank">+644 499 0424</a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><img border=0 width=121 height=58 id="_x0000_i1025" src="cid:image001.png@01CDBD0A.21CC6B60" alt="Description: Description: GreenButton_words_small">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img border=0 width=276 height=70 id="_x0000_i1026" src="cid:image002.jpg@01CDBD0A.21CC6B60" alt="Description: cid:image003.jpg@01CC4E01.BA075BC0"></span><span lang=EN-NZ style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><br></span><span style='font-size:9.0pt;font-family:"Calibri","sans-serif";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><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <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's memory is pilling up</span><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:10.0pt;font-family:"Helvetica","sans-serif";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's memory is pilling up. it wouldn't release these memory until my publishing program finished.<br>can anybody explain it?</span> <o:p></o:p></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><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><o:p></o:p></p></div><p class=MsoNormal><br><br clear=all><br>-- <br><span lang=ZH-CN>南京大学 软件学院 陈宇剑</span><o:p></o:p></p></div></body></html>