[Digikam-devel] [digikam] [Bug 326525] Severe memory leak during maintainance scan for rebuild thumbnails

eric e.longuemare at laposte.net
Sat Oct 26 09:57:47 BST 2013


Thank you Gilles,

I will try this and the compilation digikam with internal PGF.

Give you the result today or monday.

Greatings,

Eric

Le samedi 26 octobre 2013 à 05:09 +0000, Gilles Caulier a écrit :
> 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
> 





More information about the Digikam-devel mailing list