[Digikam-devel] [Bug 180224] memory leakage in image editor?

Richard Ash richard at audacityteam.org
Tue Jan 5 22:02:11 GMT 2010


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


Richard Ash <richard at audacityteam.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |richard at audacityteam.org




--- Comment #6 from Richard Ash <richard audacityteam org>  2010-01-05 23:02:06 ---
I can confirm this problem still exists in 1.0.0 release. The issue is to do
with loading new images in the Image Editor without closing the Image Editor
itself. I observe:
1) If I open a sequence of Canon Raw images from an Album, each time saving to
a JPEG2000 file and closing the Image Editor window between each, then memory
usage remains constant. I can carry on doing this for as long as I like.

2) If I open a sequence of Canon Raw images from an Album, each time saving to
a JPEG2000 file, but not closing anything - just switch back to the album,
select a new image and press F4 to load the images into the Image Editor. Doing
this the memory usage rises inexorably, eventually consuming all the available
physical memory (I don't have the patience to try and exaugst 12GB of swap
space). This took about 30 images (12 Mpixel) to use up the 4GB of physical
memory I have installed.

Closing the image editor doesn't free this memory up - I can close the Image
Editor and go back to the Album view, but the memory usage remains high. I have
to close Digikam in order to (slowly) free the memory.

My suspicion is that the problem is with what happens to the modified image
buffer when one image replaces another in the Image Editor - either the actual
buffer, or the undo history or something.

For reference my sequence of effects is:
1) White balance
2) Sharpen
3) 16bit->8bit
Optionally add free rotation and crop / aspect ratio crop to those, but I don't
think these make any difference to the issue. If you want exact steps I can
almost certainly generate some for you.

-- 
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