Skip to content

Running out of memory in repo CI lint tasks #4200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
3 tasks done
JoshuaKGoldberg opened this issue Nov 21, 2021 · 0 comments · Fixed by #4197
Closed
3 tasks done

Running out of memory in repo CI lint tasks #4200

JoshuaKGoldberg opened this issue Nov 21, 2021 · 0 comments · Fixed by #4197
Labels
bug Something isn't working repo maintenance things to do with maintenance of the repo, and not with code/docs

Comments

@JoshuaKGoldberg
Copy link
Member

  • I have tried restarting my IDE and the issue persists.
  • I have updated to the latest version of the packages.
  • I have read the FAQ and my problem is not listed.

Repro

#4197 (comment)

Expected Result

/path/to/typescript-eslint/packages/website/src/pages/index.tsx
  113:5   error  React Hook "useEffect" is called conditionally. React Hooks must be called in the exact same order in every component render
       react-hooks/rules-of-hooks
  115:9   error  Unexpected console statement
       no-console

Actual Result

$ eslint . --ext .js,.jsx,.ts,.tsx
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
@JoshuaKGoldberg JoshuaKGoldberg added bug Something isn't working repo maintenance things to do with maintenance of the repo, and not with code/docs labels Nov 21, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working repo maintenance things to do with maintenance of the repo, and not with code/docs
Projects
None yet
1 participant