Worker terminated due to reaching memory limit: JS heap out of memory
See original GitHub issueDescribe the bug
Error [ERR_WORKER_OUT_OF_MEMORY]: Worker terminated due to reaching memory limit: JS heap out of memory
Reproduction
current setting:
checker({
terminal: true,
vueTsc: true,
typescript: false,
eslint: {
lintCommand: 'eslint --format=pretty . --ext .js,.ts,.vue',
},
overlay:{
initialIsOpen: false,
position: 'bl'
}
}),
Expected behavior
no heap out of memory error, or ability to increase memory limit
System Info
System:
OS: Windows 10 10.0.22000
CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor
Memory: 11.24 GB / 31.92 GB
Binaries:
Node: 16.14.2 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.3.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 99.0.4844.82
Edge: Spartan (44.22000.120.0), Chromium (99.0.1150.46)
Internet Explorer: 11.0.22000.120
npmPackages:
vite-plugin-checker: ^0.4.4 => 0.4.4
Additional context
No response
Validations
- Read the docs.
- Check that there isn’t already an issue that reports the same bug to avoid creating a duplicate.
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:25 (4 by maintainers)
Top Results From Across the Web
Node.js heap out of memory - javascript - Stack Overflow
If I remember correctly, there is a strict standard limit for the memory usage in V8 of around 1.7 GB, if you do...
Read more >How to Fix JavaScript Heap Out of Memory Error - MakeUseOf
A common problem while working on a JavaScript Node.js project is the “JavaScript heap out of memory” error. This error usually occurs when ......
Read more >[Worker] heap out of memory #2809 - nodejs/help - GitHub
I have got error occasionally [ERR_WORKER_OUT_OF_MEMORY]: Worker terminated due to reaching memory limit: JS heap out of memory .
Read more >JavaScript Heap Out Of Memory Error | Felix Gerschau
This error indicates high memory usage or a memory leak in your application. In this article, I cover different solutions to this problem....
Read more >How to solve JavaScript heap out of memory error
To fix JavaScript heap out of memory error, you need to add the --max-old-space-size option when running your npm command. ... Alternatively, you ......
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
With that code change, it happened once after few hours usage
Seems like it’s fixed in vue-tsc@0.33.9. Try it out 😃