Re: [Boost-bugs] [Boost C++ Libraries] #290: perfomance: memory cleanup for pool takes too long

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #290: perfomance: memory cleanup for pool takes too long
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-29 13:22:47


#290: perfomance: memory cleanup for pool takes too long
---------------------+------------------------------------------------------
  Reporter: nobody | Owner: shammah
      Type: Bugs | Status: reopened
 Milestone: | Component: pool
   Version: None | Severity: Problem
Resolution: | Keywords:
---------------------+------------------------------------------------------
Changes (by contact.lipik_at_[hidden]):

  * status: closed => reopened
  * resolution: wontfix =>

Comment:

 Hi,
 I am experiencing the exact same problem, with latest version from SVN.
 The while loop referred to by the OP is in
 ''simple_segregated_storage::find_prev'', which is called from
 ''ordered_free''. There is a comment there that this is a slow function.
 My app allocates around 70MB, through ''fast_pool_allocator'' based maps,
 as well as pool_allocator based strings/vectors.
 Application shutdown takes ~10 minutes. The problem disappears if I stop
 using ''pool_allocator'' in strings & vectors (''fast_pool_allocator''
 does not cause any issues).
 I'll try and attach some code to reproduce the problem tomorrow.
 Thanks

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/290#comment:4>
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:49:57 UTC