private long getTaskCumulativeRssmem ( TaskAttemptID tid ) { ProcessTreeInfo ptInfo = processTreeInfoMap . get ( tid ) ; ProcfsBasedProcessTree pTree = ptInfo . getProcessTree ( ) ; return pTree == null ? 0 : pTree . getCumulativeVmem ( ) ; }
Return the cumulative rss memory used by a task