-
Notifications
You must be signed in to change notification settings - Fork 12.8k
heap out of memory on version 5.1.3 #54701
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
Comments
can confirm ! Breaks on Windows and Unix. |
I confirm, I had to roll back to In my case, the error started appearing after updating |
Same here with version 5.1.3, with 5.0.4 everything is ok! |
Sorry to hear you're encountering this. Unfortunately we can't really do much to investigate this without a way to repro the problem. If someone can post a repro, we would be able to investigate this. |
@RyanCavanaugh, can you provide some tools to help us trace the problems in our codebases? I face a similar issue; I get about the same obfuscated stack trace. If I can trace the origin of this issue, I'd share the relevant code. |
I'm encountering the same error when updating |
5.1.5 seems to resolve the issue for me. Anyone else? |
- Rollback db-related command names: add `db:` prefix again - Downgrade typescript version to 5.1.5 due to js heap out of memory error when running `tsc` (microsoft/TypeScript#54701)
- Rollback db-related command names: add `db:` prefix again - Downgrade typescript version to 5.1.5 due to js heap out of memory error when running `tsc` (microsoft/TypeScript#54701)
- Rollback db-related command names: add `db:` prefix again - Downgrade typescript version due to js heap out of memory error when running `tsc` (microsoft/TypeScript#54701)
I'm using TypeScript 5.1.6 and have the same problem. This problem started after I added some complicated Prisma types. However, when I removed those types, the problem was fixed.
|
Can confirm that 5.2.2 still has this issue for us, but 5.0.4 is fine. Unfortunately, I cannot repro consistently. |
Are people still stuck on this? Is TS 5.3 or nightly working for anyone here? |
Bug Report
🔎 Search Terms
v8::internal::DateCache::Weekday
v8::Isolate::ReportExternalAllocationLimitReached
🕗 Version & Regression Information
5.1.3
(works on versions5.0.2
-5.0.4
, couldn't test on5.1-beta
and5.1-rc
)heap out of memory
npm i [email protected]
doesn't work⏯ Playground Link
Our codebase is huge and I was not able to find the source of the problem. I cannot link the repository as it is confidential, and therefore, private.
💻 Code
Again, unable to provide code because I did not manage to find the exact code that causes this issue. If you can provide some trace tools, that would be helpful.
🙁 Actual behavior
TypeScript compilation failed with the next error (from our CI when running
tsc
):A similar error occurs when running
tsc
from a local machine:🙂 Expected behavior
For TypeScript to compile without errors (it works just fine on v4. On v5 it's slower, but compiles without errors)
The text was updated successfully, but these errors were encountered: