[Digikam-devel] [Bug 178325] New: Rebuild all thumbnails consumes large amounts of memory when processing at the end

Marcus D. Hanwell marcus at cryos.org
Sat Dec 20 21:55:59 GMT 2008


           Summary: Rebuild all thumbnails consumes large amounts of memory
                    when processing at the end
           Product: digikam
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: marcus at cryos.org

Version:           0.10.0_beta6 (using Devel)
Compiler:          GNU GCC 4.3.2 
OS:                Linux
Installed from:    Compiled sources

I tried rebuilding all thumbnails on my photo collection today. It took quite a
long time and didn't seem to use both cores, but the main issue was right at
the end when progress was 100%. It said "Processing..." and consumed more and
more memory as I waited for it to complete. It got to the stage where it was
causing large amounts of swapping and the system became very unresponsive.

I had to kill digikam in order to regain control of my desktop session. When I
restarted digikam it seems like the thumbnails I built have been kept as
thumbnails are shown very quickly. I haven't looked at the relevant code yet
but I assume it was collecting the thumbnails up in some way. I am comfortable
with C++, Qt and KDE programming and would be happy to help debug this issue if
you have any ideas of where to start. I assume it is caused by the size of my
image collection and so debugging would require hours to get to that point

My system is an AMD Athlon X2 dual core, 2GB of RAM and the photos reside on an
ext3 RAID5 partition. The thumbs were being generated on a separate partition
(/home/myuser/Pictures) where the photos have their own partition
(/home/photos). The photo partition has 74GB of used space, mixture of JPEG,
NEF and a few AVIs. I will upgrade to the latest beta to check if that helps at

New digikam is looking great already. Thanks.

Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the Digikam-devel mailing list