WayfireWM / WayfireWM/wf-shell
[wf-background] high memory usage
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 179
- Forks
- 55
- Avg merge
- 16d 1h
- Merged PRs (30d)
- 3
Description
The wayfire process is using 106mb RAM , which considering what it is doing is incredibly reasonable, even impressive.
However, the wf-background process, which displays a picture, is using 234mb. Now I am using a 3840x2160 image but the png is less than 1mb.
Over 200mb to display an image seems excessive to me.
I'm using wf-shell built from git master.
Contributor guide
No contributing guide indexed for this repository
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 wf-background process and reproduce the report using the mentioned 3840x2160 PNG while measuring memory usage. Trace the image-loading and display path to identify why usage reaches about 234 MB. Done means the excess allocation is reduced and verified with comparable measurements, or the usage is explained with evidence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100