
12 Oct
2019
12 Oct
'19
7:47 a.m.
Hi, 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() - managed_shm.get_free_memory();) 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)? -Vivek -- Sent from: http://boost.2283326.n4.nabble.com/Boost-Users-f2553780.html