microsoft / microsoft/vscode-java-dependency

High memory consumption in multi module projects

Open
#811 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
199
Forks
105
Avg merge
1d 22h
Merged PRs (30d)
27

Description

Example project: https://github.com/zowe/api-layer

Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
Date: 2023-12-13T09:48:06.308Z
Electron: 25.9.7
ElectronBuildId: 25551756
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin x64 23.2.0

I have the Extension Pack for Java installed, together with the Spring Boot extension pack.

Loading the project with the Project Manager for Java enabled results in the process Code Helper (Renederer) reaching over 13 GB in my machine, at this point it starts swapping, and the vscode workspace remains unresponsive, rolling back to 0.22 seems to be a bit better, not unresponsive but still high memory consumption.
No problems are observed with the extension uninstalled.

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 the example zowe/api-layer project and Project Manager for Java enabled, using the listed VS Code and extension versions. Compare memory use and responsiveness with the extension disabled and with version 0.22. The issue names no source files or tests; done means the excessive memory use is isolated and the workspace remains responsive.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, typescript, vscode
Domain
performance, tooling
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.