Replies: 1 comment 8 replies
-
|
How many modules do you have? Search and Replace hashes can consume more memories (but not ~300MB), do you have any non official plugins (will be great to see at configuration too)? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My team was using:
This caused Webpack's memory usage to increase by ~300 MB on each rebuild. I eventually found this comment by @sokra:
I removed the
output.filenameoption, so that the default of[name].jsis used, and this fixed the rapidly increasing memory usage.My questions:
[fullhash]/[chunkhash]/[contenthash]inoutput.filenameis known to cause memory issues, could Webpack print a warning ifoutput.filenamecontains one of these variables andmode === 'development'? If yes, then I can attempt a PR.Ref #12947
Beta Was this translation helpful? Give feedback.
All reactions