[Akonadi] [Bug 438775] New: Akonadi severe memory leak in akonadiserver

Bob Mattes bugzilla_noreply at kde.org
Wed Jun 16 22:49:02 BST 2021


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

            Bug ID: 438775
           Summary: Akonadi severe memory leak in akonadiserver
           Product: Akonadi
           Version: unspecified
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: server
          Assignee: kdepim-bugs at kde.org
          Reporter: forums at tankerbob.com
  Target Milestone: ---

SUMMARY

When akonadiserver and Kontact are running, akonadiserver takes a near-constant
8% of CPU and continually accumulates 10,560K of heap memory per second.
Quiting Kontact does not stop the memory leak. If I end the akonadiserver
process itself, the leak stops and the memory is recovered.

Also, when akonadiserver is accumulating memory and taking 8% of the CPU, some
file operations run very slowly. File managers take about a minute to load, as
do dialogs to save files from apps. Once akonadiserver is ended, file
operations return to normal.

inxi also stalls during execution when akonadiserver is accumulating memory,
saying that it cannot start the the freedesktop.org battery service, but works
once akonadiserver is ended.

I tried checking the Akonadi log, but Akonadi.error is a 0 byte file.

I believe that all this started with the update to KDE Plasma update 5.22.0.

STEPS TO REPRODUCE
1. Start Kontact (or anything that loads Akonadi)
2. Start KSysGuard to watch akonadiserver resources
3. 

OBSERVED RESULT
akonadiserver heap grows by 10,560K per second and takes 8% constant CPU,
file managers and file open/save dialogs take about 1 minute to load
inxi -Fxx stalls for about a minute waiting for the battery

EXPECTED RESULT
No abnormal memory or CPU usage

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: OpenSuse Tumbleweed
(available in About System)
KDE Plasma Version: 5.22.0
KDE Frameworks Version: 21.04-1.1
Qt Version: 5.15.2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list