MEM: Memory Subsystems as Processes