-
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
Heap out of memory in 5.3.1-rc but not 5.3.0-beta #56371
Comments
Is there any chance you could bisect? Maybe with https://www.npmjs.com/package/every-ts? |
Didn't get time yet to try the per-commit bisecting with 5.3.0-dev.20231027 - broken 5.3.0-dev.20231026 - broken 5.3.0-dev.20231025 - good 5.3.0-dev.20231020 - good |
Ok I tried out
Commit I'm running from: JoshuaKGoldberg/typescript-eslint@cd4eb1f Full list of commands I ran:
|
It didn't get stuck; bisecting ended at a package update commit. If that's all of the commands you ran, nothing in that actually links the package into your workspace. You should consider running |
$ cd packages/utils
$ every-ts bisect start 5.2 main
$ every-ts bisect run timeout 20 tsc -b tsconfig.build.json -f
...
55395f9e01e0b2ff4152981a52aa76487df17605 is the first bad commit
commit 55395f9e01e0b2ff4152981a52aa76487df17605
Author: Sheetal Nandi <[email protected]>
Date: Wed Oct 25 15:05:47 2023 -0700
When caching type references cache the tracked symbols so they can be emitted in the d.ts file (#51721)
src/compiler/checker.ts | 25 +-
src/compiler/types.ts | 3 +
src/testRunner/unittests/tsc/incremental.ts | 51 +++
.../incremental/generates-typerefs-correctly.js | 371 +++++++++++++++++++++
4 files changed, 449 insertions(+), 1 deletion(-)
create mode 100644 tests/baselines/reference/tsc/incremental/generates-typerefs-correctly.js Bisect points to #51721. @sheetalkamat |
🔎 Search Terms
heap out of memory ineffective mark-compacts near heap limit Allocation failed
🕗 Version & Regression Information
⏯ Playground Link
https://github.com/typescript-eslint/typescript-eslint/tree/281ce307cf92dbaf69ab6aba1c942ef5d342278c
💻 Code
🙁 Actual behavior
In
packages/utils
,tsc -b tsconfig.build.json
(yarn build
) should run successfully.🙂 Expected behavior
Additional information about the issue
Building worked in the previous commits on 5.3.0-beta. I also tried reverting the runtime changes to
createIsolatedProgram.ts
andestree-to-ts-node-types.ts
from ac4beddeda21a1a15e228471e1e293c270b25cff but that didn't seem to fix the build locally.The text was updated successfully, but these errors were encountered: