-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
v2.4.1 crashes due to a memory leak/exclude is broken #847
Comments
Sorry, can't help due this, as minimum we need profile, can you provide some more info? |
@alexander-akait well, if you don't mind to look into non-minimal example, clone this: https://github.com/birdofpreyru/react-utils, and see the latest commit in That commit still has If you upgrade |
@birdofpreyru Big thanks, I will look at this in near future, we migrate on new API, so I think something wrong on webpack side, you should speed up and decrease memory usage after this update |
yes, 2.4.1 still leads to memory crash, more or less the same log as above (webpack@5.57.1 / node v16.10.0)
|
same for me, easy replicateable in: https://github.com/pavelthq/mini-css-issue-241 run:
in 2.0.0 it works fine.
|
@pavelthq 404, maybe private? |
@alexander-akait tried in incognito works fine, it is public. https://github.com/pavelthq/mini-css-issue-241 |
@pavelthq Note, please migrate from |
Found a problem, new API used |
Thanks for the quick turn-around @alexander-akait , the workaround solves the problem for me! |
WIP on fix, note for me - we need add testcase for #846 |
please try https://github.com/webpack-contrib/mini-css-extract-plugin/releases/tag/v2.4.2, partially fixed, some edge cases still here, we need fix it on webpack side, but should be fine for 99.99% |
@alexander-akait 2.4.2 works fine on my side, thanks. |
for me also , thanks |
Bug report
My existing projet works fine with
mini-css-extract-plugin@2.3.0
. After upgrading to the latestv2.4.1
my project builds fail, seemingly due to some memory leak:Taking into account
v2.4.1
release comments saying bug fix: crash with multiple webpack versions, my first guess, there are still some problems left. I am on the latestwebpack@5.57.1
, by the way.Actual Behavior
Presumably
v2.4.0
introduces some memory leak, causing crashes at least in some edge-cases.Expected Behavior
Upgrade from
v2.3.0
tov.2.4.1
should not lead to crashes in the projects where build worked with the previous versions.How Do We Reproduce?
I had no chance to dig into it. I'll provide a way to reproduce later, if you don't have an idea already what might be wrong with it.
Please paste the results of
npx webpack-cli info
here, and mention other relevant informationThe text was updated successfully, but these errors were encountered: