redhat-developer / redhat-developer/yaml-language-server

memory usage skyrockets, computer significantly slowed down when open "git conflicted" yaml files

Open
#216 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
1.5k
Forks
352
Avg merge
2d 7h
Merged PRs (30d)
11

Description

Once I opened multiple yaml files in git conflict, my computer slowed down significantly, I then use System Monitor to inspect processes and see that code ...redhat.vscode-yaml... has an unusual high memory usage (≥ 2GB).

System Information:
OS: Linux

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report with multiple conflicted YAML files while monitoring the code ...redhat.vscode-yaml... process in System Monitor on Linux. Trace the language-server entry point responsible for conflicted YAML files and verify that opening them no longer causes memory usage of 2GB or more or significantly slows the computer.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.