The gif contains 491 frames at 960 by 540. Uncompressed, that's half a MB per frame, for a total of 254 MB. So, during scaling with gdk_pixbuf, we have at least this much in memory, plus a copy of the scaled result. Little wonder that things break.
I'll see if we can change things such that we extract a single frame and then scale that. (It's not a trivial change, so this will take a while.) -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to thumbnailer in Ubuntu. https://bugs.launchpad.net/bugs/1527315 Title: Attached gif downloaded from telegram takes out the phone as thumbnailer hogs the memory and cpu Status in Canonical System Image: Confirmed Status in thumbnailer package in Ubuntu: New Bug description: STEPS: 1. drop the attached gif into the Photo's folder 2. Open gallery 3. Refresh the photo's scope ISSUE: The gif I think causes thumbnailer to loop, Memory usage jump 4% each loop until oom takes out the app but thumbnailer is still stuck in it's loop so eventually the scopes are all taken out, At that point thumbnailer is stopped and the system returns to normal with the exception that there is now a black space where the scopes used to be. IMAGE: Krillin ota 8.5 To manage notifications about this bug go to: https://bugs.launchpad.net/canonical-devices-system-image/+bug/1527315/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp