Memory leak when opening a file from a mounted Docker volume on MacOS #36529
Replies: 2 comments
|
Can you provide more explicit steps? I'm unfamiliar with OrbStack and you have provided insufficient details about how to actually trigger this behavior (e.g. configuration of the shared volume; whether it's a mac volume shared into the container or a container volume shared to the mac as /Volumes mountpoint, etc). |
|
OrbStack is an alternative to Docker Desktop. Not really sure (judging by this part of the FAQ https://docs.orbstack.dev/faq#orbstack-folder) OrbStack mounts a folder from MacOS to the container as a volume. When I opened a file from any of those folders that were mounted to a running container in Zed it just started to lag and use tons of memory. Just tried it and I have no problems now. Not sure if a Zed or OrbStack update fixed this. Closing since it is not a problem anymore. |
Uh oh!
There was an error while loading. Please reload this page.
Summary
Memory leak when opening a file from a mounted Docker volume on MacOS
Description
When opening a file from a mounted volume by OrbStack (Docker) the editor hangs and starts using over 20GB of memory. After force closing the editor if I reopen it the same thing happens until I unmount the volume.
Steps to trigger the problem:
1.Start a Docker container with OrbStack
2.Open a file from the mounted volume
3.The editor hands and starts using a lot of memory
Actual Behavior:
Expected Behavior:
Zed Version and System Specs
Zed: v0.187.5 (Zed)
OS: macOS 15.4.1
Memory: 16 GiB
Architecture: aarch64
If applicable, attach your
~/Library/Logs/Zed/Zed.logfile to this issue.There are no logs in
~/Library/Logs/Zedor~/.local/share/zed/logs. The directories don't exist.All reactions