-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
TS 4.6.2+ JavaScript heap out of memory #49982
Comments
@MarcoGlauser I can't thank you enough for providing a good repro. 👍 |
git bisect points to 57bd608 - FYI @ahejlsberg |
Before that commit, |
Hmm, yeah the re-ordering in that commit ended up affecting situations where we're relating a type parameter to a union type. We used to first try obtaining the constraint of the type parameter and relating that to the union type. Then, if that failed, we'd call BTW, the types in the repro definitely have the potential to cause trouble. |
Bug Report
Moved from #39059 (comment)
Related to google/schema-dts#98
After upgrading from 4.5.5 to 4.6.2 we got the following Stacktrace when trying to build our project:
Trying different versions, 4.6.1-rc is the last version that works. Any version after, including the nightlies,cannot transpile the project.
🔎 Search Terms
🕗 Version & Regression Information
⏯ Playground Link
The playground link is too long to post here, since I can't easily narrow the exact type from this project that is causing the issue.
Minimal reproduction repository
Node Memory Profiles
💻 Code
🙁 Actual behavior
tsc ran out of memory
🙂 Expected behavior
tsc should transpile
The text was updated successfully, but these errors were encountered: