developit / developit/workerize-loader

Workerize loader runs out of memory

未關閉
#108 5 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
JavaScript
星號
2.3k
分支
85
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

先使用 workerize-loader 1.3.0、webpack 4.43.0 和 `webpack --progress` 重現失敗情況,然後將現有設定與回報的 CRA 設定進行比較。完成的標準是找出可重現的設定,或記錄原因及經驗證的解決方案;回報者的自訂設定無法取得。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
javascript, webpack
領域
build-system
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。