Changelog
Source:NEWS.md
mori 0.2.1
CRAN release: 2026-06-09
- New
prune_shared()removes shared memory regions orphaned by a process that was killed before it could clean up (#25). - When
share()fails to create a shared memory region it now reports the requested size and, where applicable, an actionable hint (e.g. raising a container’s/dev/shmlimit) instead of a generic message (#29).
mori 0.2.0
CRAN release: 2026-05-09
- Wire-format change (breaking): The serialization format and the shared memory region naming scheme have both changed.
-
shared_name()andmap_shared()now round-trip for sub-lists and extracted elements, not just whole shared objects. Sub-object identifiers carry a bracketed index path (e.g./mori_abc_1[2,3]). -
shared_name()now returnsNULLfor non-shared inputs (previously the empty string"");shared_name(x) %||% ""retains the previous behaviour. -
share()on Linux fails with a clean R error when/dev/shmis too small (typical in containers, where the limit can be raised at start) instead of SIGBUS-ing mid-serialize (#14). -
map_shared()on Linux no longer prefaults the whole region, restoring lazy first-touch access to match macOS.