Remove shared memory logic