mafintosh / mafintosh/process-top
Feature request: track "high-water mark" statistics?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 85
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
This module is recommended by Gatsby (https://www.gatsbyjs.com/docs/how-to/performance/resolving-out-of-memory-issues/ via https://answers.netlify.com/t/support-guide-making-sure-your-builds-use-appropriate-resources-for-netlifys-build-system/5349) for troubleshooting memory usage by their resource-intensive framework. But they simply suggest:
npx process-top ./node_modules/.bin/gatsby build
But this I have to watch constantly. What I really need is a "high-water mark" i.e. something that tracks the maximum amount of memory ever used.
Any interest in adding that as a feature to this module, or is that beyond its intended scope?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the npx process-top entry point and inspect how current memory usage is collected and displayed. Exercise it during a Gatsby build to understand the existing output. Done means the module reports the maximum memory usage reached, so users do not need to watch continuously.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- observability, performance
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100