« Return to Thread: [pool] Doubling algorithm

[pool] Doubling algorithm

by Martin_Scheffler :: Rate this Message:

Reply to Author | View in Thread

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://lists.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
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

 « Return to Thread: [pool] Doubling algorithm