MT#7109 Add mem stats

Initial and final stats are created on mem dir.