Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

virtual memory size reported on OS X includes shared library size #73

Closed
giampaolo opened this issue May 23, 2014 · 3 comments
Closed

Comments

@giampaolo
Copy link
Owner

From [email protected] 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

@giampaolo giampaolo self-assigned this May 23, 2014
@giampaolo
Copy link
Owner Author

From [email protected] on February 01, 2010 10:15:37

Fixed in r467

Status: FixedInSVN

@giampaolo
Copy link
Owner Author

From g.rodola on November 12, 2010 19:14:59

Status: Fixed

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 03:51:19

Updated csets after the SVN -> Mercurial migration: r467 == revision a944f3276b72

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant