microsoft / vscode-java-dependency

Manage Java projects in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-dependency
MIT License
140 stars 68 forks source link

High memory consumption in multi module projects #811

Open pablocarle opened 6 months ago

pablocarle commented 6 months ago

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.