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

Add USS and (optionally) PSS memory_info_ex process stats #753

Closed
giampaolo opened this issue Feb 3, 2016 · 0 comments
Closed

Add USS and (optionally) PSS memory_info_ex process stats #753

giampaolo opened this issue Feb 3, 2016 · 0 comments

Comments

@giampaolo
Copy link
Owner

Providing USS would be good because (from http://elinux.org/Android_Memory_Usage):

Uss is the set of pages that are unique to a process. This is the amount of memory that would be freed if the application was terminated right now.

As such it seems this represents the most important value when profiling the memory usage of a process (a lot more useful than RSS for instance). This is well explained in this article: http://bmaurer.blogspot.it/2006/03/memory-usage-with-smaps.html. There are currently 3 open PRs for adding USS: #744 (Linux), #745 (OSX) and #746 (Windows).

PSS is also useful:

Pss is the amount of memory shared with other processes, accounted in a way that the amount is divided evenly between the processes that share it. This is memory that would not be released if the process was terminated, but is indicative of the amount that this process is "contributing"

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