Bug 252443 - digiKam leaves a zombie after quit. doesn't free memory.
Summary: digiKam leaves a zombie after quit. doesn't free memory.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Searches-TimeLine (show other bugs)
Version: 1.3.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-26 17:44 UTC by qigang
Modified: 2019-12-24 08:54 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description qigang 2010-09-26 17:44:20 UTC
Version:           1.3.0 (using KDE 4.5.1) 
OS:                Linux

I am using kubuntu10.04.1, with kubuntu Backports and Kubuntu Updates repository enabled. Digikam's version is 1.3. The problem I have is that, every time I launch and quit digikam, it leaves a process "digikam" after quit and occupies a huge amount of memory. If I launch and quit digikam for 3 times, it leaves 3 digikam zombie. The memory usage information is as below.


---------------------------------
Process 5750 - digikam

Summary

The process digikam (with pid 5750) is using approximately 243.4 MB of memory.
It is using 228.8 MB privately, and a further 51.9 MB that is, or could be, shared with other programs.
Dividing up the shared memory between all the processes sharing that memory we get a reduced shared memory usage of 14.5 MB. Adding that to the private usage, we get the above mentioned total memory footprint of 243.4 MB.
Library Usage

The memory usage of a process is found by adding up the memory usage of each of its libraries, plus the process's own heap, stack and any other mappings, plus the stack of its 6 threads. 
Private
more
223968 KB	[heap]
3820 KB	/usr/lib/i686/cmov/libavcodec.so.52.20.1
708 KB	/usr/lib/libQtWebKit.so.4.7.0
476 KB	/usr/lib/i686/sse2/libx264.so.85
304 KB	/usr/lib/libkhtml.so.5.5.0
Shared
more
5652 KB	/usr/lib/libQtGui.so.4.7.0
3048 KB	/usr/lib/libkhtml.so.5.5.0
2152 KB	/usr/lib/libkdeui.so.5.5.0
1892 KB	/usr/lib/libdigikamcore.so.1.0.0
1796 KB	/usr/bin/digikam
Totals

Private	234328 KB	(= 1268 KB clean + 233060 KB dirty)
Shared	53096 KB	(= 53096 KB clean + 0 KB dirty)
Rss	287428 KB	(= Private + Shared)
Pss	249225 KB	(= Private + Shared/Number of Processes)
Swap	0 KB
Full Details

Information about the complete virtual space for the process is available, with sortable columns. An empty filename means that it is an anonymous mapping.
Both the MMU page size and the kernel page size are 4 KB.

Show Full Details 


Reproducible: Always

Steps to Reproduce:
OS: kunbutu 10.04.1 with kubuntu Backports and kubuntu updates ppa. update to latest version.
launch digikam and then quit it. The GUI does disappear. But there is still a digikam process running, which takes hundreds of MB of memory.

Actual Results:  
digikam doesn't end. And it won't free up memory.


OS: Linux (i686) release 2.6.32-25-generic
Compiler: cc
Comment 1 caulier.gilles 2010-09-26 19:23:37 UTC

*** This bug has been marked as a duplicate of bug 247175 ***
Comment 2 caulier.gilles 2019-12-24 08:53:41 UTC
Not reproducible with 7.0.0-beta1