Replies: 8 comments 16 replies
-
yFiles is already distributes as an ES6 Module. So what is Snowpack doing during 'installing dependencies.." ? |
Beta Was this translation helpful? Give feedback.
-
The same for me. Is there any option to write |
Beta Was this translation helpful? Give feedback.
-
The same happens with a fairly small TypeScript/React codebase. More context: |
Beta Was this translation helpful? Give feedback.
-
Attached at the bottom are my heap snapshot and error log: <--- Last few GCs ---> [16788:00000299DC148080] 1311485 ms: Scavenge 4045.5 (4088.9) -> 4045.2 (4089.4) MB, 3.4 / 0.0 ms (average mu = 0.908, current mu = 0.472) allocation failure <--- JS stacktrace ---> FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory |
Beta Was this translation helpful? Give feedback.
-
Try using >8192.
…On Mon, Feb 8, 2021 at 1:43 AM Rizky ***@***.***> wrote:
I'm doing export NODE_OPTIONS="--max-old-space-size=4096" && yarn dev
which is not quite ideal tbh.
this does not prevent mine from crashing...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1548 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIHMCHP5VFQHMB3JT7AXN3S56P4LANCNFSM4TOLXD4A>
.
|
Beta Was this translation helpful? Give feedback.
-
Increasing the limit is not a solution. I get a spinning cursor in the browser window and then the crash (after a couple of minutes). I'm dead in the water. |
Beta Was this translation helpful? Give feedback.
-
Has anyone found a solution to this? Mine crashes even if I set to 8192 limit... |
Beta Was this translation helpful? Give feedback.
-
Anybody ... Getting same problem Here is the error `[10:56:15] [snowpack] Ready! [5186:0x4d813a0] 80163 ms: Scavenge (reduce) 941.0 (969.6) -> 941.0 (969.6) MB, 4.7 / 0.0 ms (average mu = 0.130, current mu = 0.070) allocation failure <--- JS stacktrace ---> FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory |
Beta Was this translation helpful? Give feedback.
-
Snowpack takes 80 seconds to finish "installing dependencies", every time I touch the package.json file. Since this morning, it no longer finishes, crashing and running out of memory:
My project uses the yFiles library, which is distributed as a collection of very large, minified and obfuscated javascript files. I imagine these files are the problem, but these types of dependencies are pretty common when you're working with proprietary/licensed libraries.
Priority: Snowpack is Unuseable
Beta Was this translation helpful? Give feedback.
All reactions