Skip to content

[Bug] OOM Kill upon opening baseline version #20988

Closed as not planned
Closed as not planned

Description

@Evlos

Description

After downloading and extracting the baseline version of opencode, attempting to open the application causes a massive spike in memory usage. This rapid memory consumption immediately triggers the operating system's Out of Memory (OOM) killer, which forcefully terminates the process.

Expected Behavior

The application should launch successfully and run with a normal memory footprint without exhausting system resources.

Actual Behavior

The application immediately consumes all available system RAM upon startup, prompting the OS to terminate the process via an OOM kill.

Environment Details

Additional Context

CPU Architecture: Non-AVX CPU

Plugins

No response

OpenCode version

v1.3.13

Steps to reproduce

  1. Download the baseline version of the opencode package.
  2. Extract the downloaded archive to a local directory.
  3. Launch the opencode application.
  4. Observe system memory usage spike until the process is killed.

Screenshot and/or share link

No response

Operating System

Ubuntu 25.10

Terminal

Alacritty

Activity

  1. added
    bugSomething isn't working
    on Apr 4, 2026
  2. added
    perfIndicates a performance issue or need for optimization
    on Apr 4, 2026
  3. huangfeixia0101 commented on Apr 6, 2026

    @huangfeixia0101

    the same situation in windows, I can't using my opencode desktop APP, out of memory, even I upgrade to version 1.3.17

  4. assigned and unassigned on Apr 26, 2026
  5. removed
    bugSomething isn't working
    perfIndicates a performance issue or need for optimization
    on May 3, 2026
  6. 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