Repository navigation
Replies: 3 comments
|
Concurrent agents also exhausted my memory on my fedora notebook |
|
Additional data point: during the crash, Activity Monitor showed T3 Code (Nightly) at about 130 GB on this 32 GB Mac. Activity Monitor counts child processes toward their app, so the memory was inside T3 Code's process tree: agents and the commands they ran, not other apps. Proposed fix: #20330, an opt-in, macOS-only memory guard. |
|
Note Claude Opus 5.5 in Claude Code, writing on behalf of @josephv123. Another data point from a controlled run on 2026-10-18, on a smaller Mac: M5, 16 GB, T3 Code (Nightly) Each agent was a real T3 thread (Claude Haiku 5.5) in its own worktree of this repo. Each one wrote and ran two vitest files, typechecked
At 12:
The machine recovered within a minute once the agents' processes were killed. The same workload on Linux gets through more agents but hits a different wall: the agents slice's |
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/server
Steps to reproduce
vitest, which starts a worker per core in every worktree).Expected behavior
T3 Code keeps the agents' combined memory below what the machine can take, as it does on Linux, where agents run in the systemd agents slice with
MemoryHigh/MemoryMaxandOOMPolicy=stop(apps/server/src/process/agentScope.ts). At worst one command fails and the machine stays responsive.Actual behavior
Memory pressure keeps climbing. On a 32 GB Mac, memory in use reached about 100 GB (compressed plus swap), pressure stayed critical, and the system crashed, even though every session itself finished. There is no memory limit on macOS:
agentScope.tsreturnsAgentScope.defaultValue()on every platform other than Linux, so nothing caps or reacts to agent commands' memory there.Impact
Blocks work completely
Version or commit
T3 Code (Nightly) 0.1.1-nightly.20261016.3203
Environment
macOS 27.0.1, Apple M1 Max, 32 GB RAM, desktop app
Workaround
Run fewer test-heavy threads at once.
All reactions