New issue
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
[Bug]: FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory #19994
Comments
We're hitting the same thing. It looks like it may be related to this terser-webpack-plugin. Our CI jobs always seem to fail when processing the TerserPlugin. |
Funny if I run the following command on powershell
|
So, I did the following to fix that weird error of a missing react package on my Angular project:
Story loaded fine. I assume there is a memory leak in Storybook. How will I declare this Here is my
|
Please also refer to this issue: @ndelangen suggestion helped to resolve the issue. |
@JavaVista Could you create a minimal repro of this:
I'd definitely take a look if this caused a problem indeed. You mention this happens to you when you run storybook/code/lib/core-server/src/utils/server-statics.ts Lines 14 to 62 in 03b1e95
I don't see what the memory leak here could be, it's not actually loading the files into memory at all AFAICS |
Describe the bug
When I run
npm run storybook
To Reproduce
run `npm run storybook`
System
The text was updated successfully, but these errors were encountered: