delete ME after persissting them on disk
Merge pull request #5650 from deguio/deleteMEafterWriting

delete ME after persisting them on disk