set memory usage to memory_stat.total_rss