You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: T3 Code renderer rapidly consumes 7+ GiB of RAM, making Linux unresponsive #38239
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
Run T3 Code on Linux with existing conversation history.
Use the app and search or load older conversation threads.
Observe the T3 Code window’s memory usage.
If the app becomes unresponsive or is killed for running out of memory, reopen it and observe memory usage again.
Note: These are the observed circumstances, not yet a confirmed reproduction recipe. Logs show repeated older-thread searches shortly before both spikes, but it’s not established whether the search itself or a specific conversation triggered them.
Expected behavior
Memory usage remains bounded and the desktop stays responsive.
Actual behavior
The main window process reached approximately 7.9 GiB and was killed by Linux. After reopening, its replacement grew from 256 MiB to 7.2 GiB in 30 seconds. RAM and swap were exhausted, and the machine required a hard reboot.
Impact
Blocks work completely
Version or commit
No response
Environment
T3 Code 0.1.9 on Ubuntu Linux
Logs or stack traces
2026-11-17 15:44:31 — Linux out-of-memory killer terminated T3 Code's main renderer:Out of memory: Killed process 877295 (t3code)anon-rss: 8260920 kBsystemd: app-com.t3tools.T3Code-215557.scope: Failed with result 'oom-kill'.systemd: Memory peak: 7.9G; swap peak: 249.8M.After reopening T3 Code, its renderer-history log recorded:15:55:49 — main renderer working set: 256 MiB15:56:19 — main renderer working set: 7,377 MiB15:56:57 — GNOME accessibility service reported the T3 Code app unresponsive.16:00:11 — System swap was 100% used, with 87 tasks blocked.Diagnostic traces show repeated searches of older conversation threads shortly before both memory spikes. The connection is suspected but not confirmed.
@theglove44 After you reopened T3 Code, which thread was open when memory climbed (the app reopens the last thread you viewed)? If you open only that thread, does memory climb again, and what does the thread contain (very long, large tool or command output, big diffs, images, or many subagents)?
@juliusmarminge I was using T3 Code’s search to find an older thread. I searched for management key as a key word, which returned threads from around eight days earlier, and clicked into different results to look through them.
The memory spike happened during that search-and-open workflow. After T3 was killed for running out of memory, I reopened it and memory climbed again, but I don’t know which thread it reopened. I haven’t tried opening that thread alone, because the machine became unresponsive and needed a hard reboot.
I don't recall the affected thread containing unusually large output, diffs, images or subagents. The diagnostic traces did show repeated older-thread search operations shortly before both spikes though.
@theglove44 Could you find which thread(s) the app opened right after the restart at about 15:55? Run grep -h '"orchestration.subscribeThread"' ~/.t3/userdata/logs/server.trace.ndjson* | jq -r '[(.startTimeUnixNano|tonumber/1e9|todate), .attributes["orchestration_v2.thread_id"]] | @tsv' (times are UTC). Then for the thread ids from 15:44 and 15:55–15:56 local time, share the itemCount and provider from t3 thread list --json --project <that project's path>. If you're willing, also say whether t3 thread show <id> on it shows anything unusual (a very long tool output, a huge message, many turns).
@juliusmarminge Thanks for that, I wasn't aware I could do that to find the thread details.
The thread opened at 15:43:41 UTC, before the first out-of-memory kill, and again at 15:56:07 UTC after the restart:
Thread ID: bdea3435-00ad-4e3e-8471-b6720af00b9e
Title: Match Theo’s Quota Dashboard
Project: cliproxyapi
Provider: claudeAgent
Item count: 248
I couldn’t run t3 thread list or t3 thread show: the local t3 command reports that its installation has moved or been removed. Instead, I inspected the saved database read-only.
The thread has 30 dynamic-tool items, 55 command-execution items, 42 file-change items and no recorded subagents. The three largest dynamic-tool records are approximately 369 KB, 289 KB and 281 KB as stored; their combined input and output appears in those record sizes. I haven’t inspected or shared their contents, as the thread may contain sensitive information. I haven’t retried opening the thread by itself.
#38329, now on main: Find now registers only highlights near the viewport plus the active match, addressing the demonstrated memory growth with very large match counts while preserving counting and navigation.
Not done: The reported 7–8 GiB renderer spikes when searching or reopening older threads still need confirmation on the reporter’s thread, because neither the report nor the merge establishes that excessive highlight registration caused those incidents.
Closing; open a new issue if what is left still matters to you.
Activity
juliusmarminge commentedon Nov 17, 2026
@theglove44 After you reopened T3 Code, which thread was open when memory climbed (the app reopens the last thread you viewed)? If you open only that thread, does memory climb again, and what does the thread contain (very long, large tool or command output, big diffs, images, or many subagents)?
theglove44 commentedon Nov 18, 2026
@juliusmarminge I was using T3 Code’s search to find an older thread. I searched for
management keyas a key word, which returned threads from around eight days earlier, and clicked into different results to look through them.The memory spike happened during that search-and-open workflow. After T3 was killed for running out of memory, I reopened it and memory climbed again, but I don’t know which thread it reopened. I haven’t tried opening that thread alone, because the machine became unresponsive and needed a hard reboot.
I don't recall the affected thread containing unusually large output, diffs, images or subagents. The diagnostic traces did show repeated older-thread search operations shortly before both spikes though.
juliusmarminge commentedon Nov 18, 2026
@theglove44 Could you find which thread(s) the app opened right after the restart at about 15:55? Run
grep -h '"orchestration.subscribeThread"' ~/.t3/userdata/logs/server.trace.ndjson* | jq -r '[(.startTimeUnixNano|tonumber/1e9|todate), .attributes["orchestration_v2.thread_id"]] | @tsv'(times are UTC). Then for the thread ids from 15:44 and 15:55–15:56 local time, share theitemCountand provider fromt3 thread list --json --project <that project's path>. If you're willing, also say whethert3 thread show <id>on it shows anything unusual (a very long tool output, a huge message, many turns).theglove44 commentedon Nov 18, 2026
@juliusmarminge Thanks for that, I wasn't aware I could do that to find the thread details.
The thread opened at 15:43:41 UTC, before the first out-of-memory kill, and again at 15:56:07 UTC after the restart:
I couldn’t run t3 thread list or t3 thread show: the local t3 command reports that its installation has moved or been removed. Instead, I inspected the saved database read-only.
The thread has 30 dynamic-tool items, 55 command-execution items, 42 file-change items and no recorded subagents. The three largest dynamic-tool records are approximately 369 KB, 289 KB and 281 KB as stored; their combined input and output appears in those record sizes. I haven’t inspected or shared their contents, as the thread may contain sensitive information. I haven’t retried opening the thread by itself.
juliusmarminge commentedon Nov 23, 2026
#38329, now on main: Find now registers only highlights near the viewport plus the active match, addressing the demonstrated memory growth with very large match counts while preserving counting and navigation.
Not done: The reported 7–8 GiB renderer spikes when searching or reopening older threads still need confirmation on the reporter’s thread, because neither the report nor the merge establishes that excessive highlight registration caused those incidents.
Closing; open a new issue if what is left still matters to you.