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: incorrect memory info free/available bytes on mac #27460

Merged
merged 1 commit into from
Dec 24, 2024

Conversation

nathanwhit
Copy link
Member

Fixes #27435

For some reason this was dividing by 1024 (as if the unit was KB, and we wanted bytes) but the page size is already in bytes.

@nathanwhit nathanwhit changed the title fix memory info free/available bytes on mac fix: incorrect memory info free/available bytes on mac Dec 24, 2024
@nathanwhit nathanwhit enabled auto-merge (squash) December 24, 2024 05:47
@nathanwhit nathanwhit merged commit a9ab7a8 into denoland:main Dec 24, 2024
17 checks passed
dsherret pushed a commit that referenced this pull request Jan 9, 2025
Fixes #27435

For some reason this was dividing by 1024 (as if the unit was KB, and we
wanted bytes) but the page size is already in bytes.
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.

Deno.systemMemoryInfo().available and Deno.systemMemoryInfo().free are incorrect on macOS
2 participants