
30 Sep
2005
30 Sep
'05
6:22 p.m.
The one killer limitation of shmem (that I'm pretty sure Ion is working hard to remove) is that the shared memory region cannot be grown once it has been created. This is where your memory-mapped "persist" library has a leg up.
Yes - Persist's approach is to manage a pool of memory blocks rather than to allocate one huge one. So resizing isn't an issue. This approach could of course be used with Shmem as well. In fact I think many memory allocators allocate the heap in chunks rather than assume it's contiguous. Calum