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

Do not use psutil virtual_memory used/free: not reliable. Use total/available instead #462

Merged

Conversation

mathoudebine
Copy link
Owner

No description provided.

@mathoudebine mathoudebine linked an issue Jan 28, 2024 that may be closed by this pull request
@mathoudebine
Copy link
Owner Author

@orzel can you check this PR and tell me if it fixes the issue #450?
Thanks!

@orzel
Copy link

orzel commented Jan 30, 2024

@orzel can you check this PR and tell me if it fixes the issue #450? Thanks!

Yes, it does ! I checked FREE and USED (as modified by your patch), and also TOTAL (which is deduced from previous). All three were ok.
Thanks !

@mathoudebine mathoudebine merged commit 08b769b into main Jan 30, 2024
17 checks passed
@mathoudebine mathoudebine deleted the fix/450-used-ram-meaningless-on-linux-+-give-wrong-total branch January 30, 2024 17:39
This pull request was closed.
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.

"used" ram meaningless on linux + give wrong 'total'.
2 participants