Instantiate the memory subsystem.