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

Windows: Implement free in MemoryReadout #146

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Carterpersall
Copy link

  • Using the existing functions, the used memory is subtracted from the total, getting the amount of free memory

It just uses existing functions and subtracts the used memory from the total
Copy link
Member

@grtcdr grtcdr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing!

Just one question, are we absolutely sure that free in Windows is total - used?

@Carterpersall
Copy link
Author

Just one question, are we absolutely sure that free in Windows is total - used?

From my testing, the free amount seems to match the amount in task manager (not counting the standby allocation)

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