expert-lsp / expert-lsp/expert

Runaway memory usage (100GB+) during burst multi-file edits (AI agent runs in Zed)

未关闭
#893 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Elixir
星标
2.1k
派生
113
平均合并
1 天 10 小时
30 天内合并 PR
26

描述

### Environment
- OS: macOS
- Editor: Zed
- Server: Expert LSP

### Description
When editing many Elixir files in a short time (for example during an AI agent run in Zed), the `beam.smp` process memory grows without reclaiming space. I saw it exceed 100GB before having to kill it.

Image

Image

### Steps to reproduce
1. Open an Elixir project in Zed with Expert enabled.
2. Run an AI agent on a task that touches or edits multiple files across the codebase.
3. Watch `beam.smp` in Activity Monitor as the agent hops between files. Memory quickly climbs into the tens/hundreds of gigabytes and is not freed.

### Expected behavior
Memory should stay bounded when multiple file change events arrive in quick succession.

### Workaround
Kill the `beam.smp` process in Activity Monitor.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。