Closed
Description
From jlo...@gmail.com on February 01, 2010 18:56:14
Ref: http://lists.apple.com/archives/darwin-kernel/2003/Mar/msg00036.html Ref:
http://cpansearch.perl.org/src/DURIST/Proc-ProcessTable-0.43/os/darwin.c Looks like OS X's task_info.virtual_size is including shared memory mapped
into every process, artificially inflating the virtual size enormously. top
and ps are subtracting this from the number to get the "real" virtual
memory size. We will need to do the same to get useful values. See the
above links for more information and a code sample we can borrow from to
resolve this.
Original issue: http://code.google.com/p/psutil/issues/detail?id=73