There's three different patches needed, the branch linked for the thumbnailer and also https://codereview.qt-project.org/#/c/123420/ and https://codereview.qt-project.org/#/c/123432/ (both still on review upstream)
That reduces a lot the memory usage here and can't find any leak more using valgrind -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to qtdeclarative-opensource- src in Ubuntu. https://bugs.launchpad.net/bugs/1484914 Title: Memory leak in ThumbnailGenerator Status in Thumbnailer: In Progress Status in qtdeclarative-opensource-src package in Ubuntu: In Progress Bug description: A possible memory leak is exhibited by the attached QML program 'leako.qml'. Run it as is on arale with at least 100 photos in /home/phablet/Pictures/com.ubuntu.camera $ phablet-shell $ qmlscene --desktop_file_hint=/usr/share/applications/address-book-app.desktop leako.qml Running top will show that RES memory usage is rising indefinitely. To manage notifications about this bug go to: https://bugs.launchpad.net/thumbnailer/+bug/1484914/+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