set_memory