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

Request the memory usage with pss mode #936

Closed
wants to merge 1 commit into from

Conversation

echarles
Copy link
Member

Fixes #935

@echarles
Copy link
Member Author

The current fix does not work. I need to look at this in more details.

@nishikantparmariam
Copy link

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.

@echarles
Copy link
Member Author

I am developing on Mac OS, so this may the reason it is failing. I will work out the fallback solution, and would need to create a Docker image to confirm it is working fine on Linux.

@echarles
Copy link
Member Author

echarles commented Jun 8, 2022

Closing this PR as #948 is now opened instead.

@echarles echarles closed this Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Changing memory calculation methodology from RSS to PSS
2 participants