Closed VivienZhai closed 1 year ago
I think this might be a duplicate of https://github.com/webpack-contrib/webpack-bundle-analyzer/issues/492 but the error you're seeing is different, although the reason why it fails sounds like the same reason to me.
I suppose this has been resolved now by https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/423. Feel free to try v4.8.0 and let us know if your issue wasn't resolved.
Issue description
I use webpack-bundle-analyzer when I build angular production version. It generates stats.json which is 752459 kb。 Then I start running stats.json, it throws the error " JavaScript heap out of memory". Is there any way to increase running memory, like node's '--max_old_space_size=***'?
Technical info
Error info