Boost logo

Boost Users :

From: vivek1043 (vivek.vickky_at_[hidden])
Date: 2019-10-12 07:47:21


I want to continue on this topic.
when i have created the maximum number of objects needed in the application
in shmem,
 the consumed memory is n bytes.(managed_shm.get_size() -
However, during run time these objects can be deleted and created multiple
times causing fragmentation.

Is there a recommended size that can safe against bad_allocs due to
fragmentation (like 2n, 3n)?


Sent from:

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at