claude-code - 💡(How to fix) Fix [BUG] Claude Desktop Code tab causes disk write limit violation — 8.5GB in 11 min, macOS kills app (M5, v1.9659.1)

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Wait ~10 minutes — app closes silently with no error

Error Messages/Logs

App closes silently with no error message or dialog

Code Example

Date/Time:        2026-05-28 12:09:50.716 -0500
End time:         2026-05-28 12:21:09.623 -0500
OS Version:       macOS 26.5 (Build 25F71)
Architecture:     arm64e
Report Version:   72
Incident Identifier: C1892E64-4047-428B-8AB1-2DC1003F9D19

Data Source:      Microstackshots
Shared Cache:     46E0097F-F385-36C8-84A9-A40D315A32D1 slid base address 0x1836a8000, slide 0x36a8000

Command:          Claude
Path:             /Applications/Claude.app/Contents/MacOS/Claude
Identifier:       com.anthropic.claudefordesktop
Version:          1.9659.1 (1.9659.1)
Team ID:          Q6L2SF6YDW
Is First Party:   No
Beta Identifier:  819285ED-8B43-565D-9B83-D60E9BED0677
Resource Coalition: "com.anthropic.claudefordesktop"(1796)
Architecture:     arm64
Parent:           UNKNOWN [1]
PID:              4637

Event:            disk writes
Action taken:     none
Writes:           8589.94 MB of file backed memory dirtied over 679 seconds (12.65 MB per second average), exceeding limit of 99.42 KB per second over 86400 seconds
Writes limit:     8589.93 MB
Limit duration:   86400s
Writes caused:    8589.94 MB
Writes duration:  679s
Duration:         678.91s
Duration Sampled: 14.16s (event starts 664.74s before samples)
Steps:            407 (5 samples lost, 10.49 MB/step)

Hardware model:   Mac17,3
Active cpus:      10
Memory size:      16 GB
HW page size:     16384
VM page size:     16384
Shared cache residency: 10.73% (593.69 MB / 5531.98 MB)

Time Since Boot:  2614s
Time Awake Since Boot: 2614s
Time Since Wake:  n/a (machine hasn't slept)

Total CPU Time:   4.232s
Advisory levels:  Battery -> 2, User -> 2, ThermalPressure -> 0, Combined -> 2
Free disk space:  291.85 GB/460.38 GB, low space threshold 3072 MB
Vnodes Available: 51.06% (127208/249131)
Model:            com.apple.fm.language.instruct_3b.tokenizer
  Loaded:         ??? - N/A, requested by UNKNOWN
Model:            com.apple.fm.code.generate_safety_guardrail.base
  Loaded:         ??? - N/A, requested by UNKNOWN
Model:            com.apple.fm.code.generate_safety_guardrail.tokenizer
  Loaded:         ??? - N/A, requested by UNKNOWN
Model:            com.apple.fm.language.instruct_300m.tokenizer
  Loaded:         ??? - N/A, requested by UNKNOWN

Preferred User Language: en-US
Country Code:     US
OS Cryptex File Extents: 1

Heaviest stack for the target process:
  407  thread_start + 8 (libsystem_pthread.dylib + 7196) [0x183b94c1c]
  407  _pthread_start + 136 (libsystem_pthread.dylib + 27736) [0x183b99c58]
  407  uv_cancel + 556 (Electron Framework + 43550768) [0x11bf38830]
  392  write + 8 (libsystem_kernel.dylib + 18484) [0x183b59834]


Powerstats for:   Claude [4637]
UUID:             4C4C4461-5555-3144-A1D9-15C795D7EB04
Path:             /Applications/Claude.app/Contents/MacOS/Claude
Identifier:       com.anthropic.claudefordesktop
Version:          1.9659.1 (1.9659.1)
Team ID:          Q6L2SF6YDW
Is First Party:   No
Beta Identifier:  819285ED-8B43-565D-9B83-D60E9BED0677
Resource Coalition: 407 samples "com.anthropic.claudefordesktop"(1796)
Architecture:     arm64
Parent:           UNKNOWN [1]
UID:              501
Footprint:        178.92 MB -> 191.84 MB (+12.92 MB) (max 252.88 MB )
Pageins:          10 pages
Start time:       2026-05-28 12:20:55.460 -0500
End time:         2026-05-28 12:21:09.620 -0500
Num samples:      407 (100%)
Energy:           24.56 mWh
Num threads:      4
Primary state:    407 samples Frontmost App, Non-Suppressed, Kernel mode, Effective Thread QoS Default, Requested Thread QoS Default, Override Thread QoS Unspecified, p-core
User Activity:    0 samples Idle, 407 samples Active
Power Source:     407 samples on Battery, 0 samples on AC
  407  thread_start + 8 (libsystem_pthread.dylib + 7196) [0x183b94c1c]
    407  _pthread_start + 136 (libsystem_pthread.dylib + 27736) [0x183b99c58]
      407  uv_cancel + 556 (Electron Framework + 43550768) [0x11bf38830]
        392  write + 8 (libsystem_kernel.dylib + 18484) [0x183b59834]
          25   <e-core>
        15   writev + 8 (libsystem_kernel.dylib + 19340) [0x183b59b8c]
          1    <e-core>

  Binary Images:
           0x102b4c000 -                ???  com.anthropic.claudefordesktop 1.9659.1 (1.9659.1) <4C4C4461-5555-3144-A1D9-15C795D7EB04>  /Applications/Claude.app/Contents/MacOS/Claude
           0x1195b0000 -        0x123ef3fff  com.github.Electron.framework (41.6.1)             <4C4C44E6-5555-3144-A130-9B5B3F8D1C61>  /Applications/Claude.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
           0x183b55000 -        0x183b922af  libsystem_kernel.dylib (12377.121.6)               <CC1CF985-BC65-3725-809F-4C1E36B8F4BA>  /usr/lib/system/libsystem_kernel.dylib
           0x183b93000 -        0x183b9fb3b  libsystem_pthread.dylib (539.100.4)                <4F33683C-18C8-39A1-800B-2E3BD43BCC13>  /usr/lib/system/libsystem_pthread.dylib
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Environment:

App version: 1.9659.1 macOS: 26.5 (Build 25F71) Hardware: Mac17,3 — MacBook Air, Apple M5, 16GB RAM Architecture: arm64e

What's happening: Opening a Code session triggers a massive disk write leak. macOS terminates the entire app after ~11 minutes due to exceeding disk write limits. Console.app crash report shows:

Event: disk writes Writes: 8,589.94 MB over 679 seconds Rate: 12.65 MB/sec average macOS limit: 99.42 KB/sec over 86400s Action taken by macOS: process terminated

Steps to reproduce: Open Claude Desktop Click the Code tab Wait ~10 minutes — app closes silently with no error

What works fine: Chat online tab, browser-based claude.ai What I've tried: Full reinstall including ~/Library/Application Support/Claude — no change.

What Should Happen?

Opening a Code session should initialize normally without triggering excessive disk write activity. The VM binary should operate within macOS's disk write limits (99.42 KB/sec) and the app should remain stable and responsive for the duration of the session.

Error Messages/Logs

Date/Time:        2026-05-28 12:09:50.716 -0500
End time:         2026-05-28 12:21:09.623 -0500
OS Version:       macOS 26.5 (Build 25F71)
Architecture:     arm64e
Report Version:   72
Incident Identifier: C1892E64-4047-428B-8AB1-2DC1003F9D19

Data Source:      Microstackshots
Shared Cache:     46E0097F-F385-36C8-84A9-A40D315A32D1 slid base address 0x1836a8000, slide 0x36a8000

Command:          Claude
Path:             /Applications/Claude.app/Contents/MacOS/Claude
Identifier:       com.anthropic.claudefordesktop
Version:          1.9659.1 (1.9659.1)
Team ID:          Q6L2SF6YDW
Is First Party:   No
Beta Identifier:  819285ED-8B43-565D-9B83-D60E9BED0677
Resource Coalition: "com.anthropic.claudefordesktop"(1796)
Architecture:     arm64
Parent:           UNKNOWN [1]
PID:              4637

Event:            disk writes
Action taken:     none
Writes:           8589.94 MB of file backed memory dirtied over 679 seconds (12.65 MB per second average), exceeding limit of 99.42 KB per second over 86400 seconds
Writes limit:     8589.93 MB
Limit duration:   86400s
Writes caused:    8589.94 MB
Writes duration:  679s
Duration:         678.91s
Duration Sampled: 14.16s (event starts 664.74s before samples)
Steps:            407 (5 samples lost, 10.49 MB/step)

Hardware model:   Mac17,3
Active cpus:      10
Memory size:      16 GB
HW page size:     16384
VM page size:     16384
Shared cache residency: 10.73% (593.69 MB / 5531.98 MB)

Time Since Boot:  2614s
Time Awake Since Boot: 2614s
Time Since Wake:  n/a (machine hasn't slept)

Total CPU Time:   4.232s
Advisory levels:  Battery -> 2, User -> 2, ThermalPressure -> 0, Combined -> 2
Free disk space:  291.85 GB/460.38 GB, low space threshold 3072 MB
Vnodes Available: 51.06% (127208/249131)
Model:            com.apple.fm.language.instruct_3b.tokenizer
  Loaded:         ??? - N/A, requested by UNKNOWN
Model:            com.apple.fm.code.generate_safety_guardrail.base
  Loaded:         ??? - N/A, requested by UNKNOWN
Model:            com.apple.fm.code.generate_safety_guardrail.tokenizer
  Loaded:         ??? - N/A, requested by UNKNOWN
Model:            com.apple.fm.language.instruct_300m.tokenizer
  Loaded:         ??? - N/A, requested by UNKNOWN

Preferred User Language: en-US
Country Code:     US
OS Cryptex File Extents: 1

Heaviest stack for the target process:
  407  thread_start + 8 (libsystem_pthread.dylib + 7196) [0x183b94c1c]
  407  _pthread_start + 136 (libsystem_pthread.dylib + 27736) [0x183b99c58]
  407  uv_cancel + 556 (Electron Framework + 43550768) [0x11bf38830]
  392  write + 8 (libsystem_kernel.dylib + 18484) [0x183b59834]


Powerstats for:   Claude [4637]
UUID:             4C4C4461-5555-3144-A1D9-15C795D7EB04
Path:             /Applications/Claude.app/Contents/MacOS/Claude
Identifier:       com.anthropic.claudefordesktop
Version:          1.9659.1 (1.9659.1)
Team ID:          Q6L2SF6YDW
Is First Party:   No
Beta Identifier:  819285ED-8B43-565D-9B83-D60E9BED0677
Resource Coalition: 407 samples "com.anthropic.claudefordesktop"(1796)
Architecture:     arm64
Parent:           UNKNOWN [1]
UID:              501
Footprint:        178.92 MB -> 191.84 MB (+12.92 MB) (max 252.88 MB )
Pageins:          10 pages
Start time:       2026-05-28 12:20:55.460 -0500
End time:         2026-05-28 12:21:09.620 -0500
Num samples:      407 (100%)
Energy:           24.56 mWh
Num threads:      4
Primary state:    407 samples Frontmost App, Non-Suppressed, Kernel mode, Effective Thread QoS Default, Requested Thread QoS Default, Override Thread QoS Unspecified, p-core
User Activity:    0 samples Idle, 407 samples Active
Power Source:     407 samples on Battery, 0 samples on AC
  407  thread_start + 8 (libsystem_pthread.dylib + 7196) [0x183b94c1c]
    407  _pthread_start + 136 (libsystem_pthread.dylib + 27736) [0x183b99c58]
      407  uv_cancel + 556 (Electron Framework + 43550768) [0x11bf38830]
        392  write + 8 (libsystem_kernel.dylib + 18484) [0x183b59834]
          25   <e-core>
        15   writev + 8 (libsystem_kernel.dylib + 19340) [0x183b59b8c]
          1    <e-core>

  Binary Images:
           0x102b4c000 -                ???  com.anthropic.claudefordesktop 1.9659.1 (1.9659.1) <4C4C4461-5555-3144-A1D9-15C795D7EB04>  /Applications/Claude.app/Contents/MacOS/Claude
           0x1195b0000 -        0x123ef3fff  com.github.Electron.framework (41.6.1)             <4C4C44E6-5555-3144-A130-9B5B3F8D1C61>  /Applications/Claude.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
           0x183b55000 -        0x183b922af  libsystem_kernel.dylib (12377.121.6)               <CC1CF985-BC65-3725-809F-4C1E36B8F4BA>  /usr/lib/system/libsystem_kernel.dylib
           0x183b93000 -        0x183b9fb3b  libsystem_pthread.dylib (539.100.4)                <4F33683C-18C8-39A1-800B-2E3BD43BCC13>  /usr/lib/system/libsystem_pthread.dylib

Steps to Reproduce

Open Claude Desktop (v1.9659.1) on macOS 26.5, Apple M5 Click the Code tab Do nothing — do not type or interact Wait approximately 10-11 minutes App closes silently with no error message or dialog

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.126 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING