accumulator / Quickddit

Reddit client for Jolla's SailfishOS, Ubuntu Touch and Nokia N9
GNU General Public License v3.0
53 stars 21 forks source link

Memory leak while playing back some gifs #28

Open szopin opened 7 years ago

szopin commented 7 years ago

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)

accumulator commented 7 years ago

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..

szopin commented 7 years ago

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!

Thaodan commented 6 years ago

@accumulator do you know the qt bug too this?

accumulator commented 6 years ago

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

Arvedui commented 6 years ago

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

accumulator commented 5 years ago

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

accumulator commented 5 years ago

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 commented 5 years ago

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