Recommended Posts

I'm wondering if there's a way to get the actual amount of memory
a STL container, or specificly map, is using?
The reason for this is that, the map is allocated on a shared
memory segment. And when the map grows the segment eventually
"runs out" of memory..
any ideas?
(that is, shared memory segment by shmget() on linux)
/Nico