Boost C++ Libraries: Ticket #4338: Asio Http Server 3 example memory leak https://svn.boost.org/trac10/ticket/4338 <p> Hello, I've compiled asio HTTP Server 3 example as it is, using msvc 2008 and boost 1.43.0, and after running, if I keep reloading page from it, using a browser, it leaks memory, since the memory usage keeps increasing after every load. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4338 Trac 1.4.3 chris_kohlhoff Sun, 13 Jun 2010 13:44:55 GMT <link>https://svn.boost.org/trac10/ticket/4338#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4338#comment:1</guid> <description> <p> I cannot reproduce any memory leak using MSVC 8.0 on Windows XP. I used perfmon to measure the process's Virtual Bytes and Pool Nonpaged Bytes. Although there is a small increase for the first few requests, it stabilises and does not change after that. </p> <p> What makes you think it's leaking? </p> </description> <category>Ticket</category> </item> <item> <author>Dub Team <dubteam2000@…></author> <pubDate>Sun, 13 Jun 2010 19:18:29 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/4338#comment:2 https://svn.boost.org/trac10/ticket/4338#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I might have done a mistake, and if I did, sorry for that. Here's my explanation of what happened actually: </p> <p> I used the thread pool with 100 threads, and when every thread got activated it used some memory. That's why I saw the memory increase but the limit of 100 threads never got reached, because after that I wouldn't see an increase in memory. </p> <p> So, sorry again for not testing too much maybe. And thanks all contributors for this great library. </p> Ticket