After many rebuilds, "FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory" #8142
Closed
6 of 7 tasks
Labels
closed: question
This issue is a user error/misunderstanding.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Consistently when developing on github.com/typescript-eslint/typescript-eslint, after a dozen or two rebuilds, the JavaScript heap runs out of memory:
Full stack trace here
Reproducible demo
https://github.com/typescript-eslint.io
Steps to reproduce
git clone https://github.com/typescript-eslint/typescript-eslint
cd typescript-eslint
yarn
yarn start
.md
files maybe 10-20 times, allowing a rebuild after eachExpected behavior
Don't crash on me :(
Actual behavior
It crashes.
Note: I don't think this is the same issue as #4765. This is about rebuilds crashing, not performance.
Your environment
This has happened on multiple laptops over the last few months. I've just gotten around to posting now.
Self-service
The text was updated successfully, but these errors were encountered: