[Bug] Context window depleting rapidly after minimal git commands

Resolved 💬 4 comments Opened Feb 17, 2026 by AMCloud-VC Closed Mar 17, 2026

Bug Description
something strange is happening context windows is depleting very fast and in very unsual way this windows is compacted jsut after 10 git check commands

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.42
  • Feedback ID: fc55eecb-853f-4eca-b795-a59b4c587638

Errors

[{"error":"TelemetrySafeError: Error capturing screenshot: Frame with ID 0 is showing error page\n    at DpD (B:/~BUN/root/claude.exe:1571:13987)\n    at async call (B:/~BUN/root/claude.exe:1571:29770)\n    at async Y5E (B:/~BUN/root/claude.exe:3353:14119)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T13:58:24.227Z"},{"error":"TelemetrySafeError: Error capturing screenshot: Frame with ID 0 is showing error page\n    at DpD (B:/~BUN/root/claude.exe:1571:13987)\n    at async call (B:/~BUN/root/claude.exe:1571:29770)\n    at async Y5E (B:/~BUN/root/claude.exe:3353:14119)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T13:58:37.335Z"},{"error":"TelemetrySafeError: Error capturing screenshot: Frame with ID 0 is showing error page\n    at DpD (B:/~BUN/root/claude.exe:1571:13987)\n    at async call (B:/~BUN/root/claude.exe:1571:29770)\n    at async Y5E (B:/~BUN/root/claude.exe:3353:14119)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T13:58:55.626Z"},{"error":"TelemetrySafeError: Error capturing screenshot: Frame with ID 0 is showing error page\n    at DpD (B:/~BUN/root/claude.exe:1571:13987)\n    at async call (B:/~BUN/root/claude.exe:1571:29770)\n    at async Y5E (B:/~BUN/root/claude.exe:3353:14119)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T13:59:16.670Z"},{"error":"Error: Request was aborted.\n    at yX$ (B:/~BUN/root/claude.exe:866:100994)\n    at next (native:1:11)\n    at qeI (B:/~BUN/root/claude.exe:5589:3162)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T13:59:32.400Z"},{"error":"Error: Request was aborted.\n    at yX$ (B:/~BUN/root/claude.exe:866:100994)\n    at next (native:1:11)\n    at KeI (B:/~BUN/root/claude.exe:5584:5182)\n    at next (native:1:11)\n    at qeI (B:/~BUN/root/claude.exe:5589:9101)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T14:22:51.635Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/claude.exe:363:3940)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-16T14:24:04.308Z"},{"error":"Error\n    at Lb (B:/~BUN/root/claude.exe:42:1144)\n    at <anonymous> (B:/~BUN/root/claude.exe:43:10097)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/claude.exe:45:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-17T02:55:56.227Z"},{"error":"Error\n    at Lb (B:/~BUN/root/claude.exe:42:1144)\n    at <anonymous> (B:/~BUN/root/claude.exe:43:10097)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (B:/~BUN/root/claude.exe:45:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-17T08:52:33.972Z"},{"error":"Error: EPERM: operation not permitted, rename 'C:\\Users\\vikas\\.claude.json.tmp.25724.1771318356383' -> 'C:\\Users\\vikas\\.claude.json'\n    at renameSync (unknown)\n    at <anonymous> (B:/~BUN/root/claude.exe:12:1702)\n    at BP (B:/~BUN/root/claude.exe:11:49471)\n    at renameSync (B:/~BUN/root/claude.exe:12:1653)\n    at Wq (B:/~BUN/root/claude.exe:6177:819)\n    at R$f (B:/~BUN/root/claude.exe:6177:4302)\n    at FA (B:/~BUN/root/claude.exe:6177:2896)\n    at fvA (B:/~BUN/root/claude.exe:3796:578)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-17T08:52:36.387Z"},{"error":"Error: Command failed with EUNKNOWN: C:\\Program Files\\Git\\cmd\\git.exe diff HEAD --shortstat\nEUNKNOWN: unknown error, uv_spawn\n    at spawn (unknown)\n    at spawn (node:child_process:679:35)\n    at spawn (node:child_process:14:39)\n    at t8 (B:/~BUN/root/claude.exe:29:221)\n    at <anonymous> (B:/~BUN/root/claude.exe:64:16920)\n    at new Promise (native:1:11)\n    at iI (B:/~BUN/root/claude.exe:64:16911)\n    at bA (B:/~BUN/root/claude.exe:64:16444)\n    at JYI (B:/~BUN/root/claude.exe:2364:730)\n    at async <anonymous> (B:/~BUN/root/claude.exe:7304:10130)\n    at async _ (B:/~BUN/root/claude.exe:7304:10445)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-17T09:45:21.717Z"},{"error":"MaxFileReadTokenExceededError: File content (55090 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit…

Note: Content was truncated.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗