Skip to content

Large snapshot diffs can hang session loading #29873

Closed as not planned
Closed as not planned

Description

@Yoshi-OOF

Description

Opening a session with a very large edit diff can consume excessive memory or hang the TUI. In my repro, a formatter changed thousands of lines and continuing the session stalled while loading the diff-heavy turn.

Plugins

N/A

OpenCode version

1.15.12

Steps to reproduce

  1. Create a session with a tool result that changes thousands of lines in a tracked file.
  2. Continue or reopen the session.
  3. Open the diff-heavy turn in the TUI or web UI.

Screenshot and/or share link

N/A

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. github-actions commented on May 29, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of an existing issue. Please check:

  2. github-actions commented on Jul 29, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions