add memory statistic