X Tutup
Skip to content

Node runs out of memory running our builds #5229

@yjbanov

Description

@yjbanov

I've seen it crash on JS bundle tasks and build/pure-packages.dart. @hterkelsen reports it crashing on JS sourcemaps.

Workaround: node --max-old-space-size=2000 ./node_modules/.bin/gulp {TASK}

(2000 is 2GB)

  • fix the underlying issue
  • remove the heap config workaround from scripts/publish/npm_publish.sh

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup