Do you want to request a feature or report a bug?
What is the current behavior?
The memory increased when running webpack4 in development, and the memory didn’t release. So there was memory leak.
Then node will throw error
I saw the heapsnapshot, there was many repeated String Objects which were compiled by webpack.
If the current behavior is a bug, please provide the steps to reproduce.
run webpack development mode with , update the business code and waiting rebuild, then update the code…you will see the increasing memory.
What is the expected behavior?
Clear memory in time.
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version, and Operating System.