reHello,
I finally managed to make it collect objects. It simply needs to have
enough objects allocated. It also worked with STL vector holding
pointers to allocated objects. Very impressive. I thought there was some
special allocator to use. Will this be portable to g++ 4.x or should I
better do things more explicitly ?
The only thing that still bogs me is that there are 1 or sometime 2
objects left. Is this normal ? If yes, how could I know if this results
from a memory leak or if it is just garbage pending to be collected.
My apps are intended to run for very long periods so I need a way to
make sure there is no memory leak.