-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Environment
macOS 14 (Darwin 25.2.0), Apple Silicon
VS Code 1.96.x
Extension version: 2.0.12
Java: OpenJDK 21 (Homebrew)
Problem
The SLDS LSP extension spawns multiple Java processes that never terminate and consume extreme system resources. I discovered 6 concurrent lsp-2.0.12-executable.jar processes running simultaneously:
PID %CPU MEM TIME PORT
15963 100% 2.2 GB 6:45 51122
7721 100% 1.6 GB 22:42 50073
19835 99% 28 MB 1:11 51255
3968 99% 808 MB 32:34 49659
8245 99% 1.1 GB 22:57 50132
1253 99% 1.5 GB 36:21 49193
Total impact: ~600% CPU, ~7.3 GB RAM
This caused my MacBook fans to run at full speed and significant thermal throttling.
Steps to Reproduce
- Install SLDS extension
- Open a Salesforce project with LWC components
- Work normally for ~30 minutes
- Check ps aux | grep salesforce-vscode-slds
- Expected Behavior
- Single LSP process per workspace
- Process terminates when VS Code window closes
- Reasonable memory usage (<500MB)
- Kill processes manually and uninstall extension:
pkill -f "salesforce.salesforce-vscode-slds"
Possible Cause
The LSP appears to spawn a new Java process on each workspace open or extension reload without terminating previous instances.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels