Skip to content

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