
Hi Michael ! On Wednesday 10 September 2008 18:26:38 Michael Marcin wrote:
IIRC the pool of sp counted objects used won't be cleaned up until the OS reclaims the memory at program termination. If you run any sort of leak detector this can be annoying.
Yes, this is the reason why I have special build variant for running memory checks using valgrind :-)) When using valgrind, the speedup of BOOST_SP_QUICK_ALLOCATOR is neglible. But valgrind reports the pool and the allocated shared counts as "leaks". So turn it off when using valgrind. Yours, Jürgen -- * Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für * voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH * fax : ++49 511 262926 99 ! Lister Straße 15 * juergen.hunold@ivembh.de ! www.ivembh.de * * Geschäftsführer: ! Sitz des Unternehmens: Hannover * Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965 * PD Dr.-Ing. Alfons Radtke !