We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cheap-module-source-map
Describe the bug devtool 编译生成 cheap-module-source-map 在 node 10 环境下内存溢出
[27849:0x102880000] 133250 ms: Mark-sweep 1377.8 (1409.0) -> 1377.8 (1409.5) MB, 366.7 / 0.0 ms (average mu = 0.076, current mu = 0.015) allocation failure scavenge might not succeed <--- JS stacktrace ---> ==== JS stack trace ========================================= Security context: 0x1673f099e6c1 <JSObject> 0: builtin exit frame: stringify(this=0x1673f09919f9 <Object map = 0x1673955842a9>,0x1673fa7826f1 <undefined>,0x1673fa7826f1 <undefined>,0x1673500ffcc9 <Object map = 0x167345daabb1>,0x1673f09919f9 <Object map = 0x1673955842a9>) 1: arguments adaptor frame: 1->3 2: /* anonymous */(aka /* anonymous */) [0x1673e6f2d6a1] [/Users/xxx/node_modules/webpack/lib/Sourc... FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered:
rocketact/packages/rocketact-scripts/src/config/webpack/basic.ts
Line 12 in 3b7e159
在 node v10.22 版本下复现,切换到 node v12+ 以上问题消失。设置成其他可以映射源码的模式都会有内存溢出的问题 xxx-module-source-map。
xxx-module-source-map
参考文档 https://webpack.docschina.org/configuration/devtool/
目前两种解决方案:
Sorry, something went wrong.
beanlee
No branches or pull requests
🐛 bug report
Describe the bug
devtool 编译生成 cheap-module-source-map 在 node 10 环境下内存溢出
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: