Bug 401056

Summary: akonadiserver memory leak
Product: [Frameworks and Libraries] Akonadi Reporter: José Pekkarinen <koalinux>
Component: serverAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: dschridde+kde, marcus, zerg
Priority: NOR    
Version: 5.8.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description José Pekkarinen 2018-11-15 07:00:40 UTC
SUMMARY

Morning, running akonadi server on my gentoo laptop, stable versions
I observe that starting plasma, in a few hours the memory consumption
gets full and laptop start paging. Top shows the akonadiserver is the
guilty on eating all the memory followed by chromium that consumes some
little percent but having a bunch of threads.

STEPS TO REPRODUCE
1. Start plasma.
2. Work for ~3-4h.

OBSERVED RESULT

Top shows akonadiserver process takes a lot of memory.

EXPECTED RESULT

That akonadi takes memory that needs but doesn't grow
continuously over time.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 18.04 version ebuils in gentoo stable.
(available in About System)
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1
Comment 1 Marcus Harrison 2018-11-22 06:58:33 UTC
I'm seeing the same behaviour in KDE Neon packages.

Plasma: 5.14.3
Frameworks: 5.52.0
Qt: 5.11.2
Akonadi server: 5.9.3
Comment 2 José Pekkarinen 2018-11-22 07:04:06 UTC
I recently migrated my kabylake laptop to a ryzen one and still the
behaviour is reproducible, which reduces the chances to be platform
dependant. only way to reliably work is to forcefully stop akonadiserver
through akonadictl stop.
Comment 3 José Pekkarinen 2018-12-04 11:34:15 UTC
There is a new set of ebuilds for plasma 18.08, and this is still valid:

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
20775 pekkari   20   0   14.7g   3.3g      0 S  42.6  50.9  29:06.63 akonadiserver

New versions:

Linux/KDE Plasma: 18.08 version ebuils in gentoo stable.
(available in About System)
KDE Plasma Version: 5.14.3-r1
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.1-r1
Comment 4 Dennis Schridde 2019-03-24 18:42:26 UTC

*** This bug has been marked as a duplicate of bug 395131 ***