You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On large projects betterer fails out with a NodeJS heap out of memory exception.
I realize we can increase the node heap size but we're essentially maxing out a Github actions runner so we don't have much room left to run this in CI.
Expected behavior betterer should run correctly and it shouldn't error out due to insufficient memory
Screenshots
Versions (please complete the following information):
OS: Windows 10 1809
Betterer: 4.4.1
Node: v14.17.0
Additional context
It seems like this might be a similar issue to #1050, though we're running into memory issues rather than raw file count. It seems like from the comments in that ticket that betterer keeps each file open, is there any reason for this because it seems like closing files once parsed should solve both these issues.
The text was updated successfully, but these errors were encountered:
Describe the bug
betterer
fails out with a NodeJS heap out of memory exception.To Reproduce
Repo: https://github.com/adso023/Dummy-Repository
Command:
yarn run betterer
Expected behavior
betterer
should run correctly and it shouldn't error out due to insufficient memoryScreenshots
![image](https://user-images.githubusercontent.com/43103279/203103201-06781f9a-d9e6-423b-8710-27f3bf0d9a16.png)
Versions (please complete the following information):
Additional context
It seems like this might be a similar issue to #1050, though we're running into memory issues rather than raw file count. It seems like from the comments in that ticket that betterer keeps each file open, is there any reason for this because it seems like closing files once parsed should solve both these issues.
The text was updated successfully, but these errors were encountered: