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
-
level/task module/gcp type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
hapostgres/pg_auto_failover#1190 ·
-
docs
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
P3 sonic-vpp
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
sonic-net/sonic-buildimage#29662 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
spack/spack-packages#6586 ·