Quickddit icon indicating copy to clipboard operation
Quickddit copied to clipboard

Memory leak while playing back some gifs

Open szopin opened this issue 8 years ago • 8 comments

This one specifically: https://www.reddit.com/r/CrappyDesign/comments/5szxfy/its_better_because_it_is_all_automated/ It's linked as jpg, while playing memory quickly reaches 97% usage and all apps get killed (jolla c, 2.1.0.9)

szopin avatar Feb 09 '17 16:02 szopin

This is a bug in QtQuick's AnimatedImage component. Quickddit merely passes this component the URL, so there's not much I can do. I've seen this in earlier sailfish versions as well..

accumulator avatar Mar 05 '17 09:03 accumulator

Thanks, never seen this behaviour before (quickddit would hang on some gifs, but never crashed all bg apps), so thought it warranted a bug report. Thanks!

szopin avatar Mar 14 '17 19:03 szopin

@accumulator do you know the qt bug too this?

Thaodan avatar Oct 16 '17 12:10 Thaodan

No, but this one comes closest: https://bugreports.qt.io/browse/QTBUG-55808

accumulator avatar Nov 25 '17 16:11 accumulator

Maybe you can implement a workaround for imgur and others where a mp4 version is always available?

Arvedui avatar Jul 21 '18 09:07 Arvedui

relevant TJC : https://together.jolla.com/question/156463/memory-leak-when-viewing-gifs/

accumulator avatar Dec 26 '18 09:12 accumulator

I haven't seen any crashes the last few months. Also the linked image in szopin's original report is not crashing the app, therefore I'm closing this issue. Please add the reddit link to any problematic images if the problem still occurs!

accumulator avatar Feb 06 '19 21:02 accumulator

Hm, too soon, I hit this bug again :(

accumulator avatar Feb 12 '19 11:02 accumulator