Skip to content

High disk writes and memory spike during long opencode sessions on macOS #14876

Closed as not planned

Description

@lueluelue2006

Description

During long opencode sessions on macOS, I see unusually hi.gh disk write activity and memory spikes.
At peak, Activity Monitor showed disk write speed around 750 MB/s and memory usage spike around 20 GB.
After that, swap became very active and the machine got laggy and hot.

Expected: disk writes and memory usage should stay stable during normal long sessions.

Actual: high write pressure + memory spike + heavy swap.

Please advise whether this is expected, and whether there are recommended low-write / low-memory settings (logging, cache, persistence frequency).

Plugins

None

OpenCode version

Unknown

Steps to reproduce

No response

Screenshot and/or share link

No public share link yet. I can provide local logs if needed.

Operating System

macOS (Apple Silicon, 8GB RAM)

Terminal

zsh / iTerm2

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    perfIndicates a performance issue or need for optimization
    on Feb 24, 2026
  2. github-actions commented on Feb 24, 2026

    @github-actions
    Contributor

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

    If your issue is specifically caused by one of the above, please add a comment or reaction there so maintainers can track it. If it reproduces independently of those, feel free to keep this issue open with any additional details (e.g. opencode version, repro steps, or logs).

  3. github-actions commented on Apr 26, 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

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)perfIndicates a performance issue or need for optimization

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions