Moved the memory variable back out of actor.