webp viewing/thumbnailing eats up memory

Open
#191 0 comments 0 reactions 0 assignees View on GitHub

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linuxmint/pix

All issues in linuxmint/pix

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.