-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Open
Labels
bugSomething isn't workingSomething isn't workingperfIndicates a performance issue or need for optimizationIndicates a performance issue or need for optimization
Description
Description
nickjvandyke/opencode.nvim#118
This is a big problem because:
- The plugin will auto-connect to orphaned
opencodeprocesses that have no TUI - Even if I worked around the above, each
opencodeprocess consumes ~500MB of memory
Plugins
none
OpenCode version
1.1.53
Steps to reproduce
- Launch
opencodein a way that gives it a parent process. e.g. Neovim'svim.fn.jobstartor, directly in your terminal,fish -c opencodeor (untested, but presumably)bash -c opencode pgrep -fl opencodeto find the parent andopencodePIDskill -9 <parent_pid>pgrep -fl opencode, observe thatopencodeitself is still runningps -o ppid= -p <opencode_pid>, observe thatopencode's parent PID is now 1
I'm not certain this is directly opencode's fault, but it appeared only recently, and I can't think what would have changed otherwise.
Screenshot and/or share link
Operating System
macOS 15.6.1
Terminal
Ghostty
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingperfIndicates a performance issue or need for optimizationIndicates a performance issue or need for optimization