Skip to content

[Windows Desktop] Memory grows sharply with multiple windows and long-history threads in 26.810.41047 #38542

Open

Description

@abangkis

Summary

On Windows, Codex Desktop's memory usage increases sharply when multiple app windows are open and a long-history/tool-heavy thread is loaded. The memory footprint remains elevated after the thread/window has settled instead of returning to the empty-task baseline.

This report is based on a local A/B measurement and is not a claim that this build is the sole cause.

Environment

  • Codex Desktop About: 26.810.41047 (released 2026-08-14)
  • Installed Windows AppX package: OpenAI.Codex_26.810.4967.0_x64
  • ChatGPT.exe file version: 151.0.7922.137
  • Windows x64 (exact OS build not captured)
  • The machine remained usable during the reproduction; this was elevated app memory, not a system OOM.

Reproduction / measurements

  1. Restarted the PC and Codex, then opened an empty task.
    • Task Manager showed the ChatGPT group at approximately 777.6 MB.
  2. Opened a second Codex window and loaded a long-history/tool-heavy thread.
    • ChatGPT group/full working set reached approximately 1.5–1.6 GB.
  3. Opened a third Codex window.
    • Task Manager screenshot showed 2,009.9 MB and 13 processes.
    • A live 57-second sample measured full working set 2.019 GB initially, 1.926 GB at the end, and 1.89 GB shortly afterward.
    • Private working set during that sample was 1.27–1.38 GB.
    • The post-settle process count was 11.
  4. During the third-window sample, available RAM stayed around 16.5–16.9 GB, pagefile usage was about 1.36%, CPU stayed roughly 1.7–14.7%, and disk queue stayed near zero after the initial open burst.
  5. In an earlier 20-second post-restart sample, no git.exe processes were observed, so this reproduction did not depend on a simultaneous Git polling storm.

Expected behavior

Opening another window or loading a long thread may temporarily increase memory, but usage should stabilize and be released when the window/thread is no longer active.

Actual behavior

Each additional window/history load adds a substantial amount of memory. With three windows, the ChatGPT group remained near 1.9–2.0 GB after settling, well above the empty-task baseline.

Questions

  • Is this expected renderer/history retention behavior?
  • Are long thread histories virtualized or unloaded when inactive?
  • Are there diagnostics or a recommended workaround for multi-window use on Windows?
  • Please let me know if a sanitized process/memory trace would help.

Activity

  1. added
    bug
    app
    windows-os
    on Aug 14, 2026
  2. github-actions commented on Aug 14, 2026

    @github-actions
    Contributor
  3. Thalionmel commented on Sep 2, 2026

    @Thalionmel

    Reproduced on a newer Windows build: Codex Desktop 26.825.6671.0 x64 on Windows 11 build 26200.

    After roughly three hours of normal use with long, tool-heavy tasks, the Codex process group reached:

    • 32 processes
    • 3.55 GB combined working set
    • 4.44 GB combined private memory
    • one secondary renderer at 871 MB working set / 1.93 GB private memory

    Windows still had 28.1 GB RAM available, so this was not system memory exhaustion. Terminating only that secondary renderer reduced the process group to 2.64 GB working set / 2.51 GB private memory while the main process remained alive. The visible task-switching/UI lag nevertheless persisted, so renderer retention is real but does not appear to be the only accumulated state.

    A later live snapshot on the same build still showed 13 processes, 2.29 GB working set, 2.35 GB private memory, 8,789 handles, and 462 threads. Removing 2.61 GB of rollout files older than 90 days and pruning their task metadata reduced the active history set, but the degradation returned within the same workday.

    This confirms the retention/history-hydration problem is still present in 26.825.6671.0, beyond the original 26.810 builds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbugperformancewindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions