Skip to content

Conversation

@bnoordhuis
Copy link
Member

Most platforms report it in kilobytes but macOS and Solaris report it in
bytes and pages respectively.

Fixes: nodejs/node#44332


Windows, Linux and (Free|Net|Open)BSD all report kilobytes.

Copy link
Member

@santigimeno santigimeno left a comment

Choose a reason for hiding this comment

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

LGTM making sure it leaves out iOS

Most platforms report it in kilobytes but macOS and Solaris report it in
bytes and pages respectively.

Fixes: nodejs/node#44332
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.

process.resourceUsage().maxRSS reports in different units between Linux and macOS

3 participants