webp viewing/thumbnailing eats up memory
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c
- Domain
- desktop, performance
Research direction
Start by reproducing the issue in Pix 2.6.3 on Mint 20.1 with successive large webp files, using memory usage and swapping as the observable failure. Trace the viewing and thumbnailing entry points to identify allocations retained between files; done means memory is released before the next image is displayed and the reproduction no longer causes steadily increasing usage.
Written by the indexing model from the issue text.
Description
Distribution
Mint 20.1
Package version
2.6.3
Frequency
Always
Bug description
Thumbnailing or viewing a few (~40) webp files (size ~3000x4000 pixels) one after the other eats up memory, especially viewing that always leads to system swapping hell. 'top' indeed shows always increasing memory usage (2-3 Gb in my case before system freezes for a few minutes).
Steps to reproduce
Just display webp files, memory usage always increases. System finally freezes; the bigger the files the faster the problem shows, depends how much RAM you have obviously.
Expected behavior
Memory used for displaying a webp file should be freed before displaying next file.
Additional information
No response
- Dominant language
- C
- Stars
- 270
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
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.
More from linuxmint/pix
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
zephyrproject-rtos/zephyr#119726 ·
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
[adam] AdamNet network read doesn't cap to MAX_ADAM_PACKET_LEN, overflows client receive buffers Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
FujiNetWIFI/fujinet-firmware#1649 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
HarbourMasters/Shipwright#7229 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
riscv-software-src/riscv-isa-sim#2435 · 1 comment ·