Build process memory growth from 98 MB to 2 GB

Open
#3,685 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
32/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
node.js
Domain
build-system

Research direction

Read follow-up #3421 first for the earlier memory measurements, then locate the asset-pipeline build entry point that runs the claim audit and reproduces the growth. Run that build with a capped heap (for example node --max-old-space-size=...) and compare heap snapshots to tell retained data apart from lazy V8 GC under the 4 GB limit. Done when the source of growth is identified and either fixed or documented as a machine constraint.

Written by the indexing model from the issue text.

Description

area: ops bug priority: high

Follow-up from #3421

The build's node process grows steadily, from 98 MB to 2 GB by the claim audit. Whether that is retained data or V8 collecting lazily under a 4 GB heap limit decides whether a 4 GB machine can finish. Needs a capped-heap run to diagnose.

Done when

  • Run the build with a capped heap to determine if growth is retained data or lazy GC
  • Identify the source of memory growth
  • Implement fix or document the constraint
Dominant language
Go
Stars
97
Forks
61
Avg merge
4h 14m
Merged PRs (30d)
913

Getting set up

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.

More from opensro-dev/opensro

All issues in opensro-dev/opensro

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.