FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed #1160
Replies: 2 comments 4 replies
-
Thanks for sharing this feedback, I don't see the same memory issue but I do see an error about a sub-dependency of one of those packages, tracked down and fixed here: #1181 I'm curious: how many files do you have in your source directory. Also, how many other packages are used besides those larger ones that you linked? It's hard to say whether the memory limit is being hit by the installer, or by the import scanner that runs on your source files. Either way, I'd love us to get this working for you! |
Beta Was this translation helpful? Give feedback.
-
The same problem for me. We have around 1000 files in a project |
Beta Was this translation helpful? Give feedback.
-
trying to run
snowpack dev
causes this fatal error:There's not really much to go on, besides a TON of warnings.
Above this error, I see warnings about
The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten
for what looks like thousands of modules from these packages:e.g.
[snowpack] /Users/mark/ypm/xxxx/cloud-one2/node_modules/ra-core/esm/reducer/admin/resource/list/selectedIds.js:1:30 The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten
It also takes about 30 seconds before it actually throws the error, which is a long stretch from the 50ms claim on the website 🙃
I have no problems doing the same build with webpack & next.js
Beta Was this translation helpful? Give feedback.
All reactions