[Boost-bugs] [Boost C++ Libraries] #6321: non-paged pool memory leak in win_iocp_io_service

Subject: [Boost-bugs] [Boost C++ Libraries] #6321: non-paged pool memory leak in win_iocp_io_service
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-24 13:14:31


#6321: non-paged pool memory leak in win_iocp_io_service
-----------------------------------------+----------------------------------
 Reporter: Uri Avni <uri@…> | Owner: chris_kohlhoff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: asio
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: asio windows non-paged pool |
-----------------------------------------+----------------------------------
 This program takes 2GB of non-paged pool memory after several seconds:


 {{{
 boost::asio::io_service io;
 while (1)
 {
  io.run();
  io.reset();
 }
 }}}



 When outstanding_work_==0, calls to either run, run_one, poll or poll_one
 leak a non-paged pool memory, caused by the
 PostQueuedCompletionStatus(iocp_.handle, 0, 0, 0) call in
 win_iocp_io_service::stop()

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6321>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC