Skip to content

Desktop Codex cannot open older chat sessions after recent update #26104

Description

@alyakishevdmitriy-pixel

What version of the Codex App are you using (From “About Codex” dialog)?

Version 26.601.20914 • Released 2 июн. 2026 г.

What subscription do you have?

Plus

What platform is your computer?

Windows 11

What issue are you seeing?

Title: Desktop Codex cannot open older chat sessions after recent update

Environment:

  • OS: Windows 11
  • Codex Desktop
  • Problem started immediately after the latest update

Description:

After updating Codex Desktop, newly created chats work normally.

However, older chat sessions no longer open correctly. When attempting to open previous conversations, Codex eventually reports:

"Most recent error: memory allocation of 2862678 bytes failed"

Observations:

  • New chats work correctly.
  • Existing session files are still present in ~/.codex/sessions.
  • session_index.jsonl exists and is not corrupted.
  • session_index.jsonl size: 1974 bytes.
  • session count in sessions folder: 25.
  • Largest session files are approximately 1–2 MB.
  • Config file appears normal.
  • Multiple Codex processes remain running after launch.
  • Problem began only after the latest update.

Expected behavior:

Older chat sessions should open normally.

Actual behavior:

Opening older chats results in failure and memory allocation errors while new chats continue to function.

Additional information:

The issue appears related to reading or migrating older session data after the update rather than missing or corrupted session files.

What steps can reproduce the bug?

  1. Open Codex Desktop on Windows 11.
  2. Confirm that new chats can be created and opened normally.
  3. Try to open an older chat session created before the latest Codex update.
  4. The chat content does not load correctly.
  5. Codex eventually shows the error:

Most recent error: memory allocation of 2862678 bytes failed

Additional diagnostics:

  • ~/.codex/sessions exists and contains 25 items.
  • ~/.codex/session_index.jsonl exists.
  • session_index.jsonl size is 1974 bytes.
  • session_index.jsonl contains 14 lines.
  • Largest session files are only around 1–2 MB.
  • New chats work correctly.
  • The issue started immediately after the latest Codex update.

I do not have a minimal code snippet because this appears to be a Codex Desktop session loading / migration issue rather than a project code issue.

What is the expected behavior?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appbugSomething isn't workingsessionIssues involving session (thread) management, resuming, forking, naming, archivingwindows-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