save memory usage to job