Build process memory growth from 98 MB to 2 GB

Offen
#3,685 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
32/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
node.js
Bereich
build-system

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
Go
Sterne
97
Forks
61
Ø Merge
4 Std. 14 Min.
Gemergte PRs (30 T.)
913

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus opensro-dev/opensro

Alle Issues in opensro-dev/opensro

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.