Skip to content

Open Code and bun using way more resources #22548

Closed as not planned
Closed as not planned

Description

@nayaksomkar

Description

my assumption is as OpenCode is written in typescript and it uses bun for some background tasks, and cause of a bug which is forming an infinite loop, causing it to use way for resources than it should.

my reddit post/comment link https://www.reddit.com/r/opencodeCLI/s/77c2NzpQDK

Steps to reproduce

Just open a project and run a request, and keep an eye on the task manager.

Screenshot and/or share link

Image

Image

Operating System

Windows 11 Home

Activity

  1. github-actions commented on Apr 15, 2026

    @github-actions
    Contributor

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

    If your issue is specifically about memory/CPU resource consumption, contributing a heap snapshot to #20695 would be especially helpful to the maintainers.

  2. removed
    bugSomething isn't working
    perfIndicates a performance issue or need for optimization
    on May 3, 2026
  3. github-actions commented on Jul 3, 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