Configure ForkTsCheckerWebpackPlugin memory limit to avoid crashing
See original GitHub issueIf your typescript code base is large enough, ForkTsCheckerWebpackPlugin
can hit its memory limit and crash. To increase the memory limit, you have to edit the webpack config. I filed an issue on their repo about this, but they’re passing the buck on to you. Can we make this configurable without ejecting?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:8
Top Results From Across the Web
ForkTsCheckerWebpackPlugin out of memory (Solution)
The Solution: Open your webpack.config file and find this area, then add the memoryLimit (for me it was not there by default) and...
Read more >fork-ts-checker-webpack-plugin - npm
webpack.config.js const ForkTsCheckerWebpackPlugin ... memoryLimit, number, 2048, Memory limit for the checker process in MB.
Read more >4.10.28 - Release Status
Bug 2084187: Avoid kubernetes node port range #178 · Bug 2000236: Disable ... Bug 2010342: Increase memory limit for ForkTsCheckerWebpackPlugin #10188 ...
Read more >Hey when I want to run a vue frontend I need to increase my ...
Using 1 worker with 2048MB memory limit ... js // in vue.config.js const ForkTsCheckerWebpackPlugin = require(' ...
Read more >Change log for 4.10.0-0.nightly-arm64-2021-12-11-070412
... Honor DefaultDeployInterface value from Ironic config #953; Avoid ... Bug 2010342: Increase memory limit for ForkTsCheckerWebpackPlugin ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I wouldn’t like to mess with the
tsconfig.json
file - my proposition is to use cosmiconfig to be able to configure the plugin with external file or package.json entry. I’m preparing a major rewrite of the plugin and I will add this feature as a part of the 5.0.0 release 🚀@nickretallack There is an open PR: https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/pull/404 - this feature is on the list to implement. Currently, I’m working on tests, then I will release an alpha version of 5.0.0. It will be implemented before releasing stable 5.0.0.