Memory Leak in Warp Terminal When Running Claude Code and Codex
Pre-submit Checks
- [x] I have searched Warp bugs and there are no duplicates
- [x] I have searched Warp known issues page and my issue is not there
- [x] I have an issue with AI and have included the debugging ID (Optional, but helps expedite the AI quality fix). Debugging ID instructions
- [x] I have technical issue and have included the logs (optional, but helps expedite the bug fix). Log instructions
Describe the bug
After running Claude Code, Codex, and other terminals in Warp for a period of time, I encountered a memory leak. The memory usage keeps increasing, and now it has successfully occupied 16 GiB, and can even reach up to 30 GiB. Why does this happen?
To reproduce
- open one fold
- "right click" open warp in new tab
- tap"codex"
- wait 5..open the other fold
- "right click" open warp in new tab
- tap"claude"
- wait
- hours later
- Memory Leak
Expected behavior
No response
Screenshots, videos, and logs
Operating system (OS)
Windows
Operating system and version
10.0.26100
Shell Version
No response
Current Warp version
v0.2026.01.28.08.14.stable_04
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
No
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
@nanoTiO2 do you need to have anything run within codex or claude? or just have them sit open, unused, for a long period of time?
I have been using claude code a lot lately and have had 3 crashes - I have a mac m4Max. I read in a thread that Ghostly also had a memory leak problem. So this might be the reason!
It happens on mac too.
For folks on macOS - here's a special version of the current stable build that includes additional logic to track memory usage and will report statistics to us when memory usage exceeds 15GB.
Would love for you to install and use this so we can get some better insight into what's going on.
https://drive.google.com/file/d/1ePsaG1DqfhbTDNkUh65bCh0_ncYno08b/view?usp=sharing
Here’s a clue: my native language is Chinese. When I use Warp’s default font while using Claude Code, this issue always occurs. But when I change the font to FangSong, which supports Chinese, the memory leak does not occur.
@Runarry what platform are you using?
@Runarry Terminal font, I use HeiTi, still memory leak
@wosuxiongmao After setting up the font, restart Warp and try again.
You can try switching to a few different fonts; if a font doesn’t include all the characters, this problem can still occur.
I’m currently using the MapleMono NF CN font, and the memory leak issue hasn’t occurred again.
MapleMono NF CN
what is MapleMono NF CN ?
Here’s a clue: my native language is Chinese. When I use Warp’s default font while using Claude Code, this issue always occurs. But when I change the font to
FangSong, which supports Chinese, the memory leak does not occur.
i try FangSong ,not work
Here’s a clue: my native language is Chinese. When I use Warp’s default font while using Claude Code, this issue always occurs. But when I change the font to
FangSong, which supports Chinese, the memory leak does not occur.i try FangSong ,not work
After changing the Terminal font, you need to restart Warp.
Here’s a clue: my native language is Chinese. When I use Warp’s default font while using Claude Code, this issue always occurs. But when I change the font to
FangSong, which supports Chinese, the memory leak does not occur.i try FangSong ,not work
After changing the
Terminal font, you need to restart Warp.
Just got this while Claude Code was refactoring the code in Warp
Here’s a clue: my native language is Chinese. When I use Warp’s default font while using Claude Code, this issue always occurs. But when I change the font to
FangSong, which supports Chinese, the memory leak does not occur.
@Runarry This comment helped us track down this issue and fix it. I wanted to say thank you so much for your help.
The fix will be in tonight's Preview release, and soon on Stable. We are not sure if it will go out in a hotfix release or in next week's regular release.
We just released v0.2026.04.15.08.45.stable_03 for Windows as a hotfix. Please try it out and let me know if this seems to fix the issue.
I'm going to mark this as fixed. Let me know if you notice it again.