Skip to content

Sudden surge in memory usage when right clicking big jpg file #2781

@nawan95

Description

@nawan95

What Happened?

When I right-click on a very large JPG file, the file apps suddenly use a lot of memory. Right-clicking on these files is also very slow. In some cases, this can trigger kswapd to invoke oom-killer, especially on a system with limited memory, or worse, thrashing and livelock.

Steps to Reproduce

  1. Download file here: https://commons.wikimedia.org/wiki/File:Menger_4D_OpenCL_23448154_32K.jpg
  2. Open download folder
  3. Find the file and right click it
  4. Check Monitor or htop
Image

Expected Behavior

Right-clicking on a big file is faster and doesn't cause a sudden surge in memory usage.

OS Version

8.x (Circe)

OS Architecture

amd64 (on most hardwares)

Session Type

Secure Session (Wayland, This is the default)

Software Version

Latest release (I have run all updates)

Log Output

Hardware Info

CPU: Intel Celeron N4020 @ 1.10 GHz
Graphic: UHD Graphics 600
Memory: 4 GB

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: ConfirmedThe occurrence and circumstances of the issue have been verified

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions