GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — High disk writes and memory spike during long opencode sessions on macOS · Issue #14876 · anomalyco/opencode

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

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
High disk writes and memory spike during long opencode sessions on macOS#14876
Copy link
Assignees
thdxr
Labels
bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)perfIndicates a performance issue or need for optimization

Description

@lueluelue2006
lueluelue2006
opened on Feb 24, 2026
Issue body actions

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. lueluelue2006
    added
    bugSomething isn't working
    on Feb 24, 2026
  2. github-actions
    assigned
    thdxr
    on Feb 24, 2026
  3. github-actions
    added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    perfIndicates a performance issue or need for optimization
    on Feb 24, 2026
  4. github-actions commented on Feb 24, 2026

    @github-actions
    github-actionsBot
    on Feb 24, 2026 – with GitHub Actions
    Contributor
    More actions

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

    • Snapshot system leaks tmp_pack_* files indefinitely, filling disk at ~9.5 GB/hour #14811: Snapshot system leaks tmp_pack_* files indefinitely, filling disk — very similar disk write pressure that could explain the ~750 MB/s writes you observed
    • structuredClone regression causes high CPU/heat in v1.2.9+ #14458: structuredClone regression causes high CPU/heat in v1.2.9+ — explains overheating and performance degradation on macOS during long sessions
    • Missing SIGHUP handler causes orphaned processes to leak ~4.7 GB each after terminal death #14504: Missing SIGHUP handler causes orphaned processes to leak ~4.7 GB each — related memory growth in long-running sessions

    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).

  5. github-actions commented on Apr 26, 2026

    @github-actions
    github-actionsBot
    on Apr 26, 2026 – with GitHub Actions
    Contributor
    More actions

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

  6. github-actions
    closed this as not plannedon Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @thdxr
    thdxr

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

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.