Skip to content
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

Out of memory #22

Closed
satazor opened this issue Oct 27, 2018 · 3 comments
Closed

Out of memory #22

satazor opened this issue Oct 27, 2018 · 3 comments

Comments

@satazor
Copy link

satazor commented Oct 27, 2018

  • Operating System: MacOSX 10.12.6
  • Node Version: v11.0.0
  • NPM Version: 6.4.1
  • webpack Version: 4.23.1
  • terser-webpack-plugin Version: 1.1.0

Expected Behavior

Builds finishes

Actual Behavior

Crashes with out of memory

Code

Not applicable

How Do We Reproduce?

Hard to provide, but it happens on big apps.


The app I'm working crashes with out of memory when compiling. If I disable the minification, it finishes. This seems to be related with webpack-contrib/uglifyjs-webpack-plugin#276. Perhaps we can port that fix here?

@alexander-akait
Copy link
Member

@satazor sometimes you really have big app and you need increase memory nodejs usage, without minimum reproducible test repo i can't answer what exactly happens, https://github.com/webpack-contrib/uglifyjs-webpack-plugin/pull/276/files was ported already

@satazor
Copy link
Author

satazor commented Oct 29, 2018

I can give you a reproducible test case, I’m flying home but I will provide it once I can, hopefully later today!

@satazor
Copy link
Author

satazor commented Oct 29, 2018

For some reason, the project is now compiling! Perhaps I was running a older version of terser.
If this happens again, I will reopen this.

Thanks @evilebottnawi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants