[Digikam-devel] [digikam] [Bug 326525] Severe memory leak during maintainance scan for rebuild thumbnails
Gilles Caulier
caulier.gilles at gmail.com
Sat Oct 26 06:09:14 BST 2013
https://bugs.kde.org/show_bug.cgi?id=326525
--- Comment #23 from Gilles Caulier <caulier.gilles at gmail.com> ---
There is a simple test to confirm that memory leak is relevant of PGF codec
implementation.
In digiKam thumbnails database interface, we have code to change image
compression format to store in DB. Currently PGF is hardcoded in this line :
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/threadimageio/thumbnailcreator.cpp#L687
Just change :
dbInfo.type = DatabaseThumbnail::PGF;
by :
dbInfo.type = DatabaseThumbnail::JPEG;
... and recompile and install digiKam. Re-run maintenance tool and look if
memory leak still here.
Note, with this change, JPEG will be used instead PGF to store thumbnails in
DB.
Gilles Caulier
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list