Memory leak on macOS
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 9.7k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
As per discussion on [zulip chat](https://xi.zulipchat.com/#narrow/stream/147926-druid/topic/druid-chatter/near/192567009), I was experimenting with druid and wrote the simplest example which shows just one label.
**For this simple example, memory usage is ~5x on macOS as compared to Linux when the window has minimum width and height. And around ~12x when a window is in full screen.**
Profiling the binary built with release mode for `alloc & leaks`, Instruments shows **6 memory leaks**!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the simplest one-label example described in the issue and the linked Zulip discussion; profile a release build with Instruments' Allocations and Leaks. The issue names no repository file or test, so done would require identifying and fixing the six reported leaks and verifying that macOS memory usage no longer shows the stated discrepancy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- desktop, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100