Skip to content

Windows desktop app triggers persistent kernel-pool growth and system-wide slowdown #29436

Description

@xinaxinaxin

Summary

The Codex Windows desktop app triggers sustained Windows kernel-pool growth on my machine. Memory usage rises toward 95% within about one hour, after which screenshots and clipboard operations become severely delayed. Closing ordinary applications does not recover the accumulated memory; restarting Windows clears it.

Controlled testing shows that the growth stops when all Codex desktop processes are closed. Disabling Chromium GPU acceleration does not resolve it.

Environment

  • Codex package: OpenAI.Codex_26.616.6631.0_x64
  • Codex Chromium: 149.0.7827.115
  • Problem began after update from 26.611.8604.0 to the 26.616.x series on June 19, 2026
  • Windows 11 Home China, 25H2, build 26200.8655
  • Lenovo Legion R7000P APH8, model 82Y9
  • 16 GB RAM
  • AMD Radeon 780M, Lenovo OEM driver 31.0.14005.22001
  • NVIDIA RTX 4060 Laptop GPU, Lenovo OEM driver 32.0.15.6624
  • PowerShell/native Windows agent

Lenovo's driver utility reports the AMD, NVIDIA, and chipset drivers as the current OEM-recommended versions.

Reproduction

  1. Restart Windows to clear the accumulated kernel memory.
  2. Open the Codex Windows desktop app.
  3. Use Codex normally for repository work for 30–60 minutes.
  4. Observe Task Manager memory usage steadily rising.
  5. Close other applications and then close Codex.
  6. The system remains under high memory pressure; screenshot and clipboard operations remain slow until Windows is restarted.

No project development server, Python process, Playwright browser, WSL, or Docker VM was left running during the controlled comparisons.

Controlled measurements

Codex open, normal GPU mode — 5.08 minutes

  • Available physical memory: -1019 MB
  • Commit: +626.7 MB
  • Nonpaged pool: +29.7 MB (+5.84 MB/min)
  • Codex private bytes: -26.7 MB

The Codex user-mode private allocation did not explain the system growth.

Codex open, hardware acceleration disabled — 5.08 minutes

The Chromium process was verified to use --use-angle=d3d11-warp-webgl and renderer processes used --disable-gpu-compositing. Codex GPU process memory stayed at 0 MB.

  • Available physical memory: -809 MB
  • Commit: +681 MB
  • Nonpaged pool: +45.7 MB (+8.99 MB/min)
  • Paged pool: +24.7 MB
  • Codex private bytes: +78.9 MB

Disabling hardware acceleration did not resolve the issue.

All Codex desktop processes closed — 5.08 minutes

Codex process count was continuously verified as zero.

  • Commit: -41 MB
  • Nonpaged pool: -7.3 MB (-1.44 MB/min)

The kernel-pool growth stopped when the Codex desktop app was fully closed. VS Code and the OpenAI Codex extension remained installed/running during this comparison.

Related issue

This may be related to #13749, but it is observably different: this report concerns sustained paged/nonpaged kernel-pool and system commit growth, it reproduces with Chromium GPU acceleration disabled and Codex GPU memory at 0 MB, and it stops only when all Codex desktop processes are closed.

Expected behavior

Kernel paged/nonpaged pools and system commit should stabilize during sustained Codex desktop use and should not require restarting Windows after roughly one hour.

Actual behavior

Kernel memory and commit grow while the desktop app is running. The growth stops when all Codex desktop processes are closed, but previously accumulated memory is not fully recovered without a Windows restart.

Current workaround

Use the Codex extension in VS Code and keep the Codex Windows desktop app closed.

I have retained the raw CSV samples from all four comparisons and can provide them if requested. I intentionally did not attach full Codex logs because they may contain session details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingperformancewindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions