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
-
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.filename
option, so that the default of[name].js
is used, and this fixed the rapidly increasing memory usage.My questions:
[fullhash]
/[chunkhash]
/[contenthash]
inoutput.filename
is known to cause memory issues, could Webpack print a warning ifoutput.filename
contains 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