[Digikam-devel] [Bug 195610] New: Memory leak in image editor

Jean-Marc Liotier jm at liotier.org
Sun Jun 7 23:07:10 BST 2009


https://bugs.kde.org/show_bug.cgi?id=195610

           Summary: Memory leak in image editor
           Product: digikam
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel at kde.org
        ReportedBy: jm at liotier.org


Version:           2.0.10 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

I'm using Digikam 2:0.10.0-1ubuntu3 (from Ubuntu). After a while, memory usage
is creeping up - until Digikam is killed as the system runs out of swap space,
usually after two or three dozen pictures. I suspect that something is leaking
memory.

I have been observing this behaviour all week. My usual processing involves
cropping, curves and refocus. Hardware is an AMD Athlon XP with 2 GB RAM.

Here are a few outputs of 'ps faux' :

With image editor closed, right after launch :
USER PID   %CPU %MEM VSZ   RSS    STAT START   TIME COMMAND
jim  22096 12.8  5.3 353620 110540 Ssl  22:27   0:14 digikam

With image editor open, right after launch :
USER PID   %CPU %MEM VSZ   RSS    STAT START   TIME COMMAND
jim  22096 12.4 14.5 541760 299168 Ssl  22:27   0:18 digikam

With image editor closed, but after having edited a couple dozen images :
USER PID   %CPU %MEM VSZ   RSS    STAT START   TIME COMMAND
jim  18491  8.2 65.0 1779100 1341752 Ssl  17:36  22:18 digikam

After having edited a couple dozen images, with image editor open :
USER PID   %CPU %MEM VSZ   RSS    STAT START   TIME COMMAND
jim  18491  8.2 67.9 1837908 1400848 Ssl  17:36  22:19 digikam

While running refocus, right before it got killed for lack of memory :
USER PID   %CPU %MEM VSZ   RSS    STAT START   TIME COMMAND
jim  18491  8.0 76.7 2035800 1583432 Dsl  17:36  23:18 digikam

-- 
Configure bugmail: https://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