Skip to content

Serious memory leaks still when Zed is left running for days #47325

@mattavent

Description

@mattavent

Reproduction steps

This has been happening for multiple Zed releases now.

To reproduce, leave Zed running for a few days and watch the memory usage climb until your machine slows down.

Image

Current vs. Expected behavior

No memory leak when soak testing is expected behaviour

Zed version and system specs

Zed: v0.220.2+stable.125.bf99a017312d2325476557e590b9dfb4f71241cf (Zed)
OS: macOS 15.6.1
Memory: 64 GiB
Architecture: aarch64

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:performance/memory leakFeedback for memory leaksfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usagepriority:P2Average run-of-the-mill bugsstate:needs reproNeeds reproduction steps and/or someone to reproduce

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions