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

Fix MacOS RAM usage calculation in ram_info.sh #269

Merged
merged 1 commit into from
Aug 18, 2024

Conversation

lxneng
Copy link
Contributor

@lxneng lxneng commented May 29, 2024

This PR addresses the incorrect RAM usage calculation for MacOS in ram_info.sh. Previously, the calculation for used_mem only took into account the active and wired memory. This leaves out key components of used memory, leading to potentially inaccurate results.

Changes in this PR involve modifying the calculation to include compressor and speculative memory. This change yields a more complete calculation of used memory.

@ethancedwards8 ethancedwards8 merged commit b59db11 into dracula:master Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants