I have digikam version 4.2.5.0-1ubuntu2 on ubuntu 12.04 and I still have a severe memory leak. I have 1.4 GB + 4.7 GB swap, swappiness set to 90 (90% of load will go to physical RAM, 10% to swap).
When this issue first presented, Digikam was hogging memory right from startup if I had any albums added with more than a couple hundred photos. Turning off all exporter kipi plugins seems to have made startup and scanning album collections a bit faster, but trying to actually USE digikam to DO anything with my photos quickly begins to be a problem... even just loading an album or scrolling through the photos is excrutiatingly slow...trying to move or delete anything makes my entire computer unuseable for up to half an hour or sometimes longer unless I get frustrated and do a hard shutdown of my computer. In system moniter, digikam shows as using less than 10% CPU even when my computer is so unuseable that just starting system monitor to check that takes 10 minutes. Digikam consistently shows as using about 850 MB RAM, and the remaining processes on my system use less than 1GB, even when I am using several other programs. Yet, when I switch to the resources tab in system monitor, it shows that "something" is using a total of 3.5-4 GB RAM. Closing Digikam normally hides the window and makes the program appear closed, however checking system monitor shows no change in system memory usage and digikam still shows in the process list as using around 850 MB RAM and 0 CPU. System still practically unuseable. Killing Digikam process in system monitor immediatly returns system to normal. Ran valgrind according to instructions on digikam site with the following summary: ==20392== LEAK SUMMARY: ==20392== definitely lost: 60,499 bytes in 370 blocks ==20392== indirectly lost: 233,431 bytes in 3,082 blocks ==20392== possibly lost: 7,761,872 bytes in 19,168 blocks ==20392== still reachable: 4,566,287 bytes in 19,114 blocks ==20392== suppressed: 0 bytes in 0 blocks ==20392== Reachable blocks (those to which a pointer was found) are not shown. ==20392== To see them, rerun with: --leak-check=full --show-reachable=yes ==20392== ==20392== For counts of detected and suppressed errors, rerun with: -v ==20392== Use --track-origins=yes to see where uninitialised values come from ==20392== ERROR SUMMARY: 5113780 errors from 2426 contexts (suppressed: 1 from 1) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/625452 Title: Digikam bug #243692 "Digikam uses all memory with thumbnails" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/digikam/+bug/625452/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs