Nx
Enterprise
nx-console
fix: resolve memory leaks in long-running VSCode sessions This commit addresses several memory leak issues that accumulate during long-running VSCode sessions: 1. **Language Model Cache Interval Management**: Fixed potential interval accumulation by properly clearing existing intervals before creating new ones 2. **MCP Server Keep-Alive Intervals**: Added tracking of all active intervals and comprehensive cleanup in stopMcpServer() to prevent orphaned intervals 3. **Workspace Refresh Timeout Accumulation**: Prevented setTimeout accumulation in refreshWorkspaceWithBackoff by tracking and clearing existing timeouts, plus added 10-second timeout limits to prevent infinite waits 4. **Project Path Cache Unbounded Growth**: Added 5-minute cache expiration to prevent indefinite growth of _rootProjectMap cache These fixes should significantly reduce memory usage in Activity Monitor when running VSCode for extended periods (days) without restart. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
nx-cloud record -- ./gradlew projectReportAll
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
1 run failed
nx-cloud record -- ./gradlew projectReportAll
Click to copy
Linux
4 CPU cores
read-write
access token used
17f84728
2639