-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Memory allocation failure with TS 5.3.1-rc #56470
Comments
Upgrading Yarn to version 4.0.2 which has a compatibility PnP patch for |
Have you tried |
Yes, it works with
I just wanted to point out that #56428 mentions it being broken between versions 4.74 and 5.2.2, but my project is currently using 5.2.2 without issues, it was also tested with 5.3.0-beta, but there's a regression specifically in 5.3.1-rc. |
#56371 mentions |
🔎 Search Terms
error: FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
"gc", "out-of-memory", "heap", "memory", "RAM", "garbage collector"
🕗 Version & Regression Information
⏯ Playground Link
No response
💻 Code
Actually, the console output
🙁 Actual behavior
JS OOM crash after around 1m 30s
🙂 Expected behavior
Successful compilation in around 60s (that's the time it takes to compile the project with 5.3.0-beta).
Additional information about the issue
Node: 18.18.2
NVM: 0.39.1
Yarn: 4.0.1
typescript
used in the project is patched by Yarn, so the actual version is:typescript@patch:typescript@npm%3A5.3.1-rc#optional!builtin<compat/typescript>::version=5.3.1-rc&hash=29ae49
The text was updated successfully, but these errors were encountered: