commit to mem