Asset build: the build process's heap grows to 2 GB
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 22/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- go, javascript, nodejs, python
- Domínio
- performance, tooling
Direção de pesquisa
The growing heap is in the node process of the full asset build; the payload names no file paths. Start by running the build at SRO_BUILD_JOBS=2 with NODE_OPTIONS=--max-old-space-size=1024 under the per-second profiler, then check whether it finishes. If it fails, take a heap snapshot at the claim audit and inspect the publication ledger's claim set, the lane memo results and the outdoor pass's per-region records. Done means the full build finishes with node under 1 GB of heap and tools under 2.5 GB total.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Part 2 of making the asset build finish on a 4 GB machine (part 1: #3421).
Observed. A per-second profile of the full asset build on 2026-11-14, at 15 jobs, shows the build's node process growing steadily: 98 MB at start, about 1.2 GB in the outdoor-world pass, and 2,017 MB at the claim audit, never falling back. Python peaked at about 800 MB in the later dungeon maps (fixed in #3421 by mapping Media.pk2).
Unknown, and it decides the fix. Either the build holds that much live data, or V8 is collecting lazily because its heap limit on a 16 GB machine is about 4 GB. On a 4 GB machine V8's limit is far lower, so in the first case the build fails with a heap out-of-memory error, and in the second it just runs more garbage collections.
Next steps.
- Run the full build at
SRO_BUILD_JOBS=2withNODE_OPTIONS=--max-old-space-size=1024under the per-second profiler.- If it finishes: the growth was lazy collection. Set an explicit heap ceiling from the memory budget in the build entry and close this issue.
- If it fails: take a heap snapshot at the claim audit and find the holder. The candidates are the publication ledger's claim set, the lane memo results kept for the whole run, and per-region records the outdoor pass keeps.
- Done when the full build finishes with node under 1 GB of heap and the tools under 2.5 GB in total.
- Linguagem predominante
- Go
- Estrelas
- 97
- Forks
- 61
- Merge médio
- 4h 14min
- PRs com merge (30d)
- 913
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de opensro-dev/opensro
-
area: client enhancement priority: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
opensro-dev/opensro#3681 ·
Mantenedores costumam responder em até 1 dia
-
area: client bug priority: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
opensro-dev/opensro#3228 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Format one minified client file with dprint (ongoing: one file per PR)Talvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertaarea: client enhancement good first issue priority: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
opensro-dev/opensro#1 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
area: server bug priority: medium
Dificuldade 3/5 Meio dia Facilidade para iniciantes 55/100
opensro-dev/opensro#3687 ·
Mantenedores costumam responder em até 1 dia
-
area: ops bug priority: high
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 32/100
opensro-dev/opensro#3685 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de opensro-dev/opensro
Issues semelhantes
-
Pin and verify Security Insights schema in lintinsights targetTalvez já em andamento @imshubham22apr-gif assumiu há 5 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
gemaraproj/gemara#618 ·
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 64/100
a2aproject/a2a-go#597 ·
Mantenedores costumam responder em até 1 dia
-
scopes: GetAllowedTopics, GetProtectedTopics, and GetScopedTopics include empty topic names and do not trim whitespace charactersTalvez já em andamento @patelshivani2283-lab assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
Mantenedores costumam responder em até 1 dia
-
area/networking kind/bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 69/100
siderolabs/talos#14972 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia