Bug 475715

Summary: High RAM usage by Calendar Reminders
Product: [Applications] korganizer Reporter: dev <dev>
Component: reminder daemon (korgac)Assignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: normal CC: dev, dvratil
Priority: NOR    
Version: 5.24.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of Reminder daemon subprocesses

Description dev@freitag.fi 2023-10-16 20:07:48 UTC
Created attachment 162361 [details]
Screenshot of Reminder daemon subprocesses

SUMMARY
Calendar reminders are using really much RAM. My events are synchronized using DAV.

STEPS TO REPRODUCE
1. Have events with reminders in your calendar.

OBSERVED RESULT
High RAM usage

EXPECTED RESULT
Normal RAM usage

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20231013
Kernel 6.5.6-1-default (64-bit)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11
Comment 1 Daniel Vrátil 2023-11-11 21:50:32 UTC
That's just a reporting issue in the system monitor app - if you look closely at the list of processes for the "Calendar Reminder" app (bottom left corner of the screenshot), it includes the entire Akonadi stack - most likely because the reminder daemon has started Akonadi after login, so they are in the same cgroup and so the System Monitor app counts them together.

The actual reminder daemon - you can see it in the list of processes as "kalendarac" - only uses 39.4 MB RAM, which I think is well within a reasonable limit.

The fact that the Akonadi stack is accounted into the app that started it rather than to its own "group" is a known issue, we don't have a proper fix for it yet.