Look like snowpack loop and leak #857
Replies: 5 comments 8 replies
-
Hmm, that's unexpected! Do you define any "mount" config in your Snowpack config file? By default, we assume the entire working directory is a static app, and would be scanning your entire directory for JS source code. If your directory contains many non-frontend files, that could be causing the issue. |
Beta Was this translation helpful? Give feedback.
-
I'm running into this too. I think the issue is with rollup trying to do too much at once. Instead of passing to all modules at once to |
Beta Was this translation helpful? Give feedback.
-
When we've seen this in the past, it's almost always because we are scanning too many files and not because of the Rollup install itself. Since we're dealing with frontend code, it's rare to have more bytes of frontend code than Node.js has memory. Like @Akiyamka, most likely this is caused by having lots of non-frontend files in your current working directory, and not using a "mount" config to specify which files are actually needed. |
Beta Was this translation helpful? Give feedback.
-
I'm running into this too, here is the huge heap snapshot file https://www.dropbox.com/s/jsb57csef7vw3vs/Heap-20201111T193506.heapsnapshot?dl=0 |
Beta Was this translation helpful? Give feedback.
-
This is also happening to me now, after changing some dependencies it started happening, anything I can do to help here? |
Beta Was this translation helpful? Give feedback.
-
Currently I try to investigate what exactly loop snowpack.
Verbose mode not enough verbose )
Beta Was this translation helpful? Give feedback.
All reactions