Skip to content

High CPU and memory usage on tsserver #26968

Closed
@mjbvz

Description

@mjbvz

From @Maistho on September 7, 2018 21:16

  • VSCode Version: insiders 1.28
  • OS Version: linux 4.18
    Steps to Reproduce:
  1. Open my workspace, which has a large number of files in it (easily over 100k, but most files are ignored using files.watcherExclude).
  2. Watch as vscode uses up a single thread fully, and leaks memory as well.

The offending process has the following commandline:

/opt/visual-studio-code/code /opt/visual-studio-code/resources/app/extensions/node_modules/typescript/lib/tsserver.js --useInferredProjectPerProjectRoot --disableAutomaticTypingAcquisition --enableTelemetry --cancellationPipeName /tmp/vscode-typescript/tscancellation-719f90a578cb559ea657.tmp* --logVerbosity verbose --logFile /home/maistho/.config/Code/logs/20180907T230457/vscode.typescript-language-features_1/tsserver-log-O8pOZR/tsserver.log --locale en --noGetErrOnBackgroundUpdate

Does this issue occur when all extensions are disabled?: Yes

I have uploaded logs from my session with the following ID:
Log file ID: 3308023914

Let me know if there's anything I can try to debug this.

Copied from original issue: microsoft/vscode#58223

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions