I think they are cumulative but per task.

Physical memory bytes
(PHYSICAL_MEMORY_BYTES)
The physical memory being used by a task in bytes, as reported by
/proc/meminfo.
Virtual memory bytes
(VIRTUAL_MEMORY_BYTES)
The virtual memory being used by a task in bytes, as reported by
/proc/meminfo.

This is from the Definitive Guide book. Page 260.

Regards,
Shhab


On Thu, Jul 11, 2013 at 12:47 PM, hadoop qi <[email protected]> wrote:

> Hello,
>
> I am wondering how memory counters  'PHYSICAL_MEMORY_BYTES'  and
> 'VIRTUAL_MEMORY_BYTES'  are calculated? They are peaks of memory usage or
> cumulative usage?
>
> Thanks for help,
>

Reply via email to