expert-lsp / expert-lsp/expert

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

Ouverte
#893 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Elixir
Étoiles
2.1k
Forks
113
Merge moyen
1 j 10 h
PR mergées (30 j)
26

Description

### 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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.