KDE developer Sergio Martens went on an emergency bug fixing marathon recently, discovering and fixing several bugs related excess memory usage across many core KDE applications and KDE PIM. These improvements are expected to land in KDE 4.11. Why impromptu? It turns out that Sergio’s quest for additional DDR ram locally, fell short of expectations. Since he was not able to procure the needed ram, he decided to instead go on a bug hunt, finding inappropriate memory use in many places. Those changes and findings are as follows:
- Fixed a bug where maildir resource would use 1 or 2GB when importing large folders.
- Fixed a bug where mixedmaildir resource would also use 1 or 2GB.
(Thanks to Martin Steigerwald for providing a a 77k e-mail folder).
- akonadiserver wasn’t clearing uneeded query caches. Saved 65MB here.
- Kontact had 5 copies of all calendaring data in memory if you used summary view which
accounted for 200MB with my big test .ical file.
- KOrganizer grew infinitely over night under some circumstances.
- KAlarm wasn’t freeing editor dialogs, resulting in infinite memory usage over time.
- Mysql got up to 25 MB of savings (4.12)