mafintosh / mafintosh/process-top

Feature request: track "high-water mark" statistics?

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

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

  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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.