shareMemory