Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Purge programs once they are done #1718

Open
Labels
blocked by another issueIssues which are not ready because another issue needs to be resolved firstenhancementNew feature or requestpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeperformanceIssues regarding performance
@sheetalkamat

Description

@sheetalkamat

What code were you trying to parse?

// Put your code here

What did you expect to happen?

What actually happened?

Versions

packageversion
@typescript-eslint/typescript-estreeX.Y.Z
TypeScriptX.Y.Z
nodeX.Y.Z
npmX.Y.Z

have chatted with@uniqueiniquity offline about this but once the files from the program are done, it is ok to close the watch so we can release program and its resources.. The common scenario is to have files in one tsconfig to be in a folder so likely to be iterated over together so it is possible to remoe the programA when files from programB are being queried and all the files (except say external files and lib files) are already iterated over.. Just need to keep track of files iterated.. The worst thing that can happen is to recreate program. (we would also keep flag if the program is recreated so that it is not purged after that so editing scenario keeps programs for the files being edited if that's how eslint works in editor scenario.. Needs some experimenting)

But this is the way we can work around the OOMs when there are multiple tsconfigs to be linted..
This is what will help issue reported atmicrosoft/TypeScript#35676 as just sharing source file wont be enough as that fix would delay OOM from say 5 projects to 6/7 but still not solve the main problem of having to create so many programs and create types

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked by another issueIssues which are not ready because another issue needs to be resolved firstenhancementNew feature or requestpackage: typescript-estreeIssues related to @typescript-eslint/typescript-estreeperformanceIssues regarding performance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp