CLAUDE CODE V2.1.74: MEMORY LEAK FIX, SMARTER CONTEXT TIPS, AND STURDIER OAUTH/WINDOWS BEHAVIOR
Anthropic shipped Claude Code v2.1.74 with a critical Node.js memory leak fix and targeted reliability and usability improvements. Per the [release notes](http...
Anthropic shipped Claude Code v2.1.74 with a critical Node.js memory leak fix and targeted reliability and usability improvements.
Per the release notes, this update fixes an RSS blowup caused by unreleased streaming buffers when a generator ended early on the Node.js/npm path. It also adds actionable tips to the /context command that flag context-heavy tools, memory bloat, and capacity warnings.
You now get an autoMemoryDirectory setting for custom auto-memory storage, OAuth is more robust (port-in-use handling and refresh flows even when servers return HTTP 200 on errors, e.g., Slack), and full model IDs are accepted consistently across agent configs. Windows users get working LSP servers and correct RTL rendering. There are also plugin reliability fixes, and a configurable SessionEnd hooks timeout.
The memory leak could quietly spike RSS in long-running Node processes; the fix stabilizes agent sessions and CI runners.
Smarter /context guidance and reliable OAuth/model handling reduce flaky runs and cut time spent on head-scratching misconfigurations.
-
terminal
Kill streaming generations early under Node.js and confirm RSS stays flat over many runs; add this to CI smoke tests.
-
terminal
Run /context in large repos and validate the new suggestions; set autoMemoryDirectory to your intended fast/local store and verify I/O patterns.
Legacy codebase integration strategies...
- 01.
If you were on v2.1.72/73, upgrade immediately to eliminate the streaming memory leak and retest long-lived agents.
- 02.
Check enterprise OAuth flows (port conflicts, refresh-token expiry with 200-on-error providers like Slack) and confirm model IDs now resolve end-to-end.
Fresh architecture paradigms...
- 01.
Start projects on v2.1.74, enable autoMemoryDirectory on fast storage, and adopt /context to keep context budget under control.
- 02.
Define full model IDs in one place (agent frontmatter and --agents JSON) to avoid drift between tools and scripts.