Implemented memory_peak statistic