Skip to content

Renderer process memory leak — 2.5 GB RAM + 70% CPU within 4 minutes on fresh session (Windows 11) #28680

Closed as not planned

Description

@Barmaley-777

Description

Platform: Windows 11
OpenCode version: v1.15.5

Problem: Renderer process (--type=renderer) consumes 2.5+ GB RAM and ~285 CPU seconds within 4 minutes of session start on a fresh session. Memory grows monotonically until the app becomes unresponsive. Main window process stays at ~138 MB.

Process details:

  • PID: 2728, WorkingSet: 2.5 GB, CPU: 284 sec in 4 min (~70% core)
  • Flags: --num-raster-threads=4, --renderer-client-id=5
  • Parent: PID 14960 (main OpenCode window)

Reproduction: Happens spontaneously on fresh sessions, no specific trigger.

Workaround: Kill and restart OpenCode.

Plugins

No response

OpenCode version

OpenCode version: v1.15.5

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on May 21, 2026

    @github-actions
    Contributor

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

    If your issue is specifically about the renderer process consuming excessive RAM/CPU, the Memory Megathread (#20695) is the best place to contribute — it includes instructions for capturing heap snapshots that the team needs to diagnose these issues.

  2. github-actions commented on Jul 21, 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