shared memory sizeof(MEMOIRE) correction