question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Configure ForkTsCheckerWebpackPlugin memory limit to avoid crashing

See original GitHub issue

If 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

2reactions
piotr-olescommented, Apr 6, 2020

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 🚀

0reactions
piotr-olescommented, May 13, 2020

@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.

Read more comments on GitHub >

github_iconTop 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(&#39 ...
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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found