Bug 475715 - High RAM usage by Calendar Reminders
Summary: High RAM usage by Calendar Reminders
Status: RESOLVED NOT A BUG
Alias: None
Product: korganizer
Classification: Applications
Component: reminder daemon (korgac) (show other bugs)
Version: 5.24.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-16 20:07 UTC by dev@freitag.fi
Modified: 2023-11-11 21:50 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot of Reminder daemon subprocesses (143.59 KB, image/png)
2023-10-16 20:07 UTC, dev@freitag.fi
Details

Note You need to log in before you can comment on or make changes to this bug.
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.