[Digikam-devel] [Bug 131277] Memory leak in image editor
krienke at uni-koblenz.de
krienke at uni-koblenz.de
Mon Jul 24 12:39:07 BST 2006
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=131277
------- Additional Comments From krienke uni-koblenz de 2006-07-24 13:39 -------
Am Montag, 24. Juli 2006 11:25 schrieb glaurent telegraph-road org:
[bugs.kde.org quoted mail]
You are right processes are beeing swapped out, but since I did not start any new
processes during my tests (except for digikam itself) the swap space should only
grow when digikam is started for the first time. However I can repeat this behaviour. So if I
terminate digikam then start it again and look at the very same photos then
terminate digikam and start it again etc... then swap space usage is increasing
with each try. This is not normal. Here is a sequence of free calls after I terminated
digikam. After the free call I restarted it and looked at the very same photos again.
All in all I did this 10 times (see numbers I added). And after the 10th try the system used 1.4GB swap whereas
it had no swap usage initially. Below you can see how swap usage is increasing
each time I restarted digikam and looked at the photos:
1 total used free shared buffers cached
Mem: 1012 796 215 0 45 519
-/+ buffers/cache: 231 780
Swap: 0 0 0
[krienke bliss:~] 619 > free -m
2 total used free shared buffers cached
Mem: 1012 856 156 0 5 538
-/+ buffers/cache: 312 699
Swap: 2055 0 2055
[krienke bliss:~] 619 > free -m
3 total used free shared buffers cached
Mem: 1012 718 293 0 4 351
-/+ buffers/cache: 363 649
Swap: 2055 251 1803
[krienke bliss:~] 619 > free -m
4 total used free shared buffers cached
Mem: 1012 591 420 0 5 363
-/+ buffers/cache: 222 789
Swap: 2055 363 1691
[krienke bliss:~] 619 > free -m
5 total used free shared buffers cached
Mem: 1012 647 364 0 3 362
-/+ buffers/cache: 282 729
Swap: 2055 538 1516
[krienke bliss:~] 619 > free -m
6 total used free shared buffers cached
Mem: 1012 541 470 0 2 304
-/+ buffers/cache: 235 776
Swap: 2055 692 1362
[krienke bliss:~] 619 > free -m
7 total used free shared buffers cached
Mem: 1012 530 481 0 1 256
-/+ buffers/cache: 272 740
Swap: 2055 927 1127
[krienke bliss:~] 619 > free -m
8 total used free shared buffers cached
Mem: 1012 507 504 0 1 246
-/+ buffers/cache: 259 752
Swap: 2055 1117 937
[krienke bliss:~] 619 > free -m
9 total used free shared buffers cached
Mem: 1012 590 422 0 1 335
-/+ buffers/cache: 252 759
Swap: 2055 1229 825
[krienke bliss:~] 619 > free -m
10 total used free shared buffers cached
Mem: 1012 557 454 0 2 270
-/+ buffers/cache: 285 726
Swap: 2055 1485 569
[krienke bliss:~] 619 >
Next I terminated my KDE session and kdm as well and restarted it and logged in again.
The swap space was still used. This should not happen as I think.
Am I the only one having this behaviour?
Thanks
Rainer
More information about the Digikam-devel
mailing list