-
-
Notifications
You must be signed in to change notification settings - Fork 369
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
Changing memory calculation methodology from RSS to PSS #935
Comments
CC @echarles |
Thx for the report. I have opened #936 to request memory usage with pss. |
We will have to use memory_full_info to get PSS and since PSS is a linux only feature, we might want to check if memory_full_info is an attribute of psutil.Process() (reference), and fallback to RSS if not supported by the OS. |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
usage_request should probably use PSS instead of RSS. As RSS overestimates due to copy-on-write. See the below reproducer -
Output is -
PSS seems to be more accurate here.
Additional context
This is very similar to - jupyter-server/jupyter-resource-usage#130
The text was updated successfully, but these errors were encountered: