} catch (NoSuchMethodException e) { LOG.debug("current hadoop version don't have the method getRssMemorySize of Class " + pTree.getClass().toString() + ". For More Detail: " + e); currentPmemUsage = Double.parseDouble(df.format(pTree.getCumulativeRssmem() / 1024.0 / 1024.0 / 1024.0));
/** * Get the resident set size (rss) memory used by all the processes * in the process-tree. * * @return rss memory used by the process-tree in bytes, * {@link #UNAVAILABLE} if it cannot be calculated. */ @Deprecated public long getCumulativeRssmem() { return getCumulativeRssmem(0); }
/** * Get the resident set size (rss) memory used by all the processes * in the process-tree. * * @return rss memory used by the process-tree in bytes, * {@link #UNAVAILABLE} if it cannot be calculated. */ @Deprecated public long getCumulativeRssmem() { return getCumulativeRssmem(0); }