mapbox / mapbox/node-pre-gyp

How to track memory utilization

Open
#512 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.2k
Forks
271
Avg merge
23h 40m
Merged PRs (30d)
2

Description

We're using node-pre-gyp for a project and we would like to monitor the memory utilization during processing. Do you know if the node js 'process.memoryUsage()' would encompass the memory utilization metrics from the c++ binary? From testing, I think this is correct, but it would be good to hear from someone with more expertise 😄.

Apologies if this isn't the place for questions. Let me know and I will move this to the appropriate location.

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are mentioned. Start by checking the node-pre-gyp documentation and issue history for guidance on process.memoryUsage() and native C++ addon memory; done would be a confirmed, project-relevant explanation or documentation update.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, node.js
Domain
tooling
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.