-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Bug
Copy link
Labels
area:performanceFeedback for performance issues, speed, memory usage, etcFeedback for performance issues, speed, memory usage, etcarea:performance/memory leakarea:preview/markdownmarkdown previewmarkdown previewplatform:windowshappens only on Windows, not other OShappens only on Windows, not other OSpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsPapercuts, minor issues with a clear workaround, cosmetic bugsstate:needs reproNeeds reproduction steps / someone to reproduceNeeds reproduction steps / someone to reproduce
Description
Summary
Using the Zed Preview command 'markdown: open preview' consumes 2GB of memory.
Description
Steps to trigger the problem:
- Right-click 'Open with Zed' to open the 'README.md' file.
- Use the command 'markdown: open preview'.
- Zed's memory consumption rose from over 140 MB to over 2092 MB.
- Even if markdown preview is turned off, memory consumption will not decrease.
- Even when 'README.md' is closed again, memory consumption still does not decrease.
Expected Behavior: Reasonable memory consumption for rendering a markdown file. Closed markdown preview memory decline.
Actual Behavior: Rendering a markdown file consumes too much memory. Moreover, memory will not decrease even if markdown preview is closed.
The test video and test files are as follows,
Video_20251010095234.mov
Zed Version and System Specs
Zed: v0.208.2 (Zed Preview)
OS: Windows 10.0.26100
Memory: 15.7 GiB
Architecture: x86_64
GPU: Intel(R) Iris(R) Xe Graphics || Intel Corporation || 32.0.101.5972
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:performanceFeedback for performance issues, speed, memory usage, etcFeedback for performance issues, speed, memory usage, etcarea:performance/memory leakarea:preview/markdownmarkdown previewmarkdown previewplatform:windowshappens only on Windows, not other OShappens only on Windows, not other OSpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsPapercuts, minor issues with a clear workaround, cosmetic bugsstate:needs reproNeeds reproduction steps / someone to reproduceNeeds reproduction steps / someone to reproduce