developit / developit/workerize-loader

Workerize loader runs out of memory

Offen
#108 5 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
JavaScript
Sterne
2.3k
Forks
85
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Workerize loader runs out of memory in my custom webpack config (unfortunately, I can't share it), and I see similar issue to [this one](https://github.com/developit/workerize-loader/issues/62).
```
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
```

when running `webpack --progress`, it doesn't stop on any particular file, it's usually around 67% though.

`workerize-loader` is in version 1.3.0
`webpack` is `4.43.0`

Would you be able to suggest how to debug this issue? I was trying to compare my config with CRA, and the only major difference is that CRA is running TypeScript in fork, I wonder if this may be an important difference.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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