commit memory