$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: [boost] [pool] Doubling algorithm
From: Martin Scheffler (martinscheffler_at_[hidden])
Date: 2009-07-07 02:15:30
I just stumbled across an old problem:
The maximum size of new allocations cannot be limited in boost::pool.
I have a pool that grows to hundreds of megabytes. The pool doubles its
allocation size every time it runs out of free space. Because Windows wants
to allocate consecutive free space, I get out of memory errors even when my
program only uses ~500 mb of main memory. If I could limit the amount of
memory to allocate this would not be a problem.
This was already discussed here:
http://listarchives.boost.org/Archives/boost/2008/10/143763.php
Has anything happened since then? Is boost::pool currently maintained? Or
are there alternative memory pool libraries I could use?
Thank you!
Martin Scheffler