Version: 1.2.0 (using KDE 4.2.4) OS: Linux When repeatedly using Brightness/Contrast/Gamma in the digikam editor, and then moving for the next photo using PgUp/PgDown, the digikam main process (i.e. not the editor) starts leaking memory Reproducible: Always Steps to Reproduce: 1. Start top to observe memory usage 2. Start digikam, and go to an album with lots of photos 3. click on first photo of album 4. Click Edit 5. Do a Brightness/Contrast/Gamma correction 6. Press PgDown to move to next photo 7. When prompted to save, save photo 8. Go to step 5. Actual Results: Digikam starts using more and more memory. This is the main process, not the editor. Expected Results: Memory usage should stay roughly constant OS: Linux (x86_64) release 2.6.32-23-generic Compiler: cc
If possible, please update to newer version 1.3.0 or wait few days for 1.4.0 to come out and please try again. Also, does it happen only with BCG filter or with orhers too? Please try using some other tools as well if you haven't already. Thanks.
It seems to happen with "Free Rotation" and "Shear" as well, but to a lesser extent. It doesn't seem to happen with "Rotate Left" and "Rotate Right" (i.e. 90ΒΊ rotations)
I could not see a clear memory leak testing BCG with 2.0 from SVN right now. I recommend to test with valgrind's massif: valgrind --tool=massif digikam Then trigger the memory usage. The massif.out.* file can be inspected with massif-visualizer, or attached here for this bug. If there is really significant usage - like the memory climbing from 400 MB to 800 MB - then it is nicely visible.
Alain, It still valid for you with 2.x serie ? Gilles Caulier
Alain, This file still valid using digiKam 2.4 ? Gilles Caulier
New digiKam 4.11.0 is available : https://www.digikam.org/node/740 Can you reproduce the problem with this release ?
With digiKam 5.0.0, this problem is not reproducible. I close this file now. Don't hesitate to re-open if necessary. Gilles Caulier