Fixed initialization issue at the memory example.