Skip to content

Codex Desktop on Windows repeatedly crashes and interrupts tasks — JavaScript heap out of memory confirmed #57417

Open

Description

@banankruasan

Hello,

Please escalate this report to the Codex Desktop engineering team. The application has repeatedly closed completely while running local tasks. This is not a reload of an individual window or chat: the main process terminates, running tasks stop, and work has to be recovered after relaunching the application.

This problem significantly interferes with using my paid subscription for its intended purpose. I cannot reliably leave tasks running and am forced to spend working time on repeated restarts and troubleshooting.

A local investigation has already identified the specific failure mechanism of one of the most recent crashes. The following contains only selected technical findings, without user data.

Environment

  • Windows 11, x64.
  • Application version: 26.1021.31345, build 21828.
  • Installed Windows package version: 26.1021.3705.0.
  • System RAM: 32 GB.

Confirmed diagnostic findings

  1. The application's main process crashes, not just the process that renders the interface.

  2. Local analysis of the captured stack and the corresponding installed library identified an active V8 error handler with the following message:

    Allocation failed - JavaScript heap out of memory
    

    The failure location is identified as CALL_AND_RETRY_LAST, and is_heap_oom is set to 1. The message was identified through a captured pointer in the active handler frame, not merely found among strings in the executable.

  3. The process exited with code 134 / 0x86. The recorded exception 0xC0000005 occurred in the fatal termination sequence after the out-of-memory error. It should not automatically be treated as the original cause of the failure.

  4. The last measurement, approximately two seconds before the exception, showed:

    • approximately 6.9 GiB of available physical memory;
    • system-wide committed memory of approximately 30 out of 57 GiB;
    • main-process private committed memory of approximately 2.84 GiB.

    Therefore, this incident cannot be explained solely by exhaustion of all memory available to Windows. However, the process measurements do not establish the exact size or limit of the JavaScript heap.

  5. In the preceding minutes, the main process's memory usage repeatedly increased sharply and was then partially released. One observed increase was approximately 2.15 → 3.56 GiB in five seconds.

What has not yet been established

The specific operation, object, or chat that caused the allocation failure has not been identified. There is no deterministic minimal reproduction yet.

The logs examined did not contain warnings about exceeding the size of transmitted data before this crash. However, the installed code contains an internal state-transfer path in which serialization occurs before the size-limit check. Please consider this an area to investigate, not a proven root cause.

There is also insufficient evidence to claim that deleting history, clearing logs, or increasing total system RAM would resolve the problem. The confirmed failure mechanism of the latest crash cannot automatically be assumed to explain all previous crashes.

For comparison, there are public reports with similar symptoms: #44394 and #55088. Similar symptoms do not necessarily imply the same root cause.

Requested response

  1. Confirmation of whether this failure is known for the specified build and which investigation this report belongs to.
  2. Information about an available fix or an official workaround that preserves chats, history, and security settings.
  3. Escalation to the engineering team and a concrete next step from support. If the timeframe for a fix is unknown, please provide an indication of when to expect the next status update.
  4. If the available information is insufficient, an exact list of the minimum additional technical data required and a way to safely anonymize it.

Permission to share conversations, source code, local databases, full logs, memory dumps, personal data, or secrets is not granted. Any additional materials must be separately approved before being sent.

Expected behavior: the application remains operational while tasks are running, and an error processing an individual chat or tool does not terminate the entire Codex application along with other running tasks.

Please treat this as a product reliability problem that prevents normal work and provide a substantive response addressing the diagnostic findings above.

Activity

  1. added
    bug
    app
    windows-os
    on Oct 27, 2026
  2. github-actions commented on Oct 27, 2026

    @github-actions
    Contributor

    Potential duplicates detected. Please review them and close your issue if it is a duplicate.

    Powered by Codex Action

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