SAP / ui5-language-assistant

VSCode Extension and Editor Tooling for SAPUI5
Apache License 2.0
53 stars 25 forks source link

The plugin memory usage keeps growing even when VScode is unused #692

Open KodjoSuprem opened 5 months ago

KodjoSuprem commented 5 months ago

Plugin version: v 4.0.54

VSCODE version: Version: 1.86.0 (user setup) Commit: 05047486b6df5eb8d44b2ecd70ea3bdf775fd937 Date: 2024-01-31T10:28:19.990Z Electron: 27.2.3 ElectronBuildId: 26495564 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Windows_NT x64 10.0.22631

The process @ui5-language-assistant/language-server/dist/server.js memory keeps growing in memory indefinitely, using a lot of CPU at the same time.

It happens even when I leave VSCode idle with no editor opened. It's a real issue, this plugin alone takes up to 4GB in a few hours and VSCode idling takes up to 50% CPU

vinayhospete commented 5 months ago

@KodjoSuprem We could not reproduce the issue with vscode 1.86.0 and ui5-language assistant version v4.0.54. process memory

stesap commented 1 week ago

I also have similar issue, but more on the CPU usage. The plugin SAPOSS.vscode-ui5-language-assistant takes between 100 - 200% of CPU.

image

Show VScode Version
```sh Version: 1.90.2 Commit: 5437499feb04f7a586f677b155b039bc2b3669eb Date: 2024-06-18T22:54:35.075Z (1 wk ago) Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Darwin arm64 23.5.0 ```