Summary: | Huge memory usage just for the calendar | ||
---|---|---|---|
Product: | [Frameworks and Libraries] Akonadi | Reporter: | Alexandre Bonneau <alexandre.bonneau> |
Component: | ICal file resource | Assignee: | Sergio Martins <smartins> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | normal | CC: | auxsvr, mhlavink, smartins, third-impact |
Priority: | NOR | ||
Version: | 4.10 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Global memory usage
Detailed memory usage for korgac Detailed memory usage for akonadi_kcal_ressource Detailed memory usage for korganizer |
Description
Alexandre Bonneau
2013-02-11 13:58:49 UTC
Created attachment 77130 [details]
Global memory usage
Created attachment 77131 [details]
Detailed memory usage for korgac
Created attachment 77132 [details]
Detailed memory usage for akonadi_kcal_ressource
Created attachment 77133 [details]
Detailed memory usage for korganizer
I can confirm this bug for KDE 4.10.1 on Kubuntu 12.10. The memory usage is ridiculously high for the calendar components. The akonadi_kcal_resources of which I have 8 use between 40MB-230 MB, together 670MB + korgac ~450 MB, resulting in 1120 MB just for calendar components. Can you try with ical calendars instead? (akonadi_ical_resource, not akonadi_kcal_resource) I've switched to Kde 4.10.3 and ical resource since creating this bug report. The problem still exists with this one, although it uses a bit less memory. The memory consumption : Process # Memory # Shared memory korganizer # 586,3 MiB # 55,2 MiB akonadi_ical_resource # 337,3 MiB # 23,7 MiB korgac # 448,1 MiB # 14,3 MiB still 1,371 GiB of memory used for 14514 calendar items (26,4 MiB in akonadiconsole). Can you run it on massif ? valgrind --tool=massif korganizer --nofork wait for memory increase exit korganizer give me the generated file ( shouldn't have any personal information ) I need debug symbols for this Would be great to get another massif report, this time with the to-do list closed, both the sidepane one, and the main one Lets continue this after you have 4.11. A lot has changed. ok sure Same problem here. Machine with 12 GB RAM. From 'top': %MEM COMMAND 44.0 /usr/bin/akonadi_kcal_resource --identifier akonadi_kcal_resource_3 32.3 /usr/bin/korgac --icon korgac sum=76.3 % ~ 9.15 GB RAM just for a calendar. This is overnight result. A few minutes after execution it's just 1.2 and 0.9 %. kdepim 4.10.4 It was happening on my old system and it's happening on newly reinstalled system with clean ~/.kde this time. So this should not be caused by old configuration/data. (In reply to comment #12) > kdepim 4.10.4 > It was happening on my old system and it's happening on newly reinstalled > system with clean ~/.kde this time. So this should not be caused by old > configuration/data. can you try with the ical resource instead of the kcal_resource ? kcal is kind of deprecated Thanks. I just removed old calendar, added new ical calendar and restarted everything. I'll see the result on Monday. (In reply to comment #13) > can you try with the ical resource instead of the kcal_resource ? kcal is > kind of deprecated ical seems to work fine. Thanks Fixing as wontfix, since it's a problem with the kcal resource, which is deprecated (In reply to comment #16) > Fixing as wontfix, since it's a problem with the kcal resource, which is > deprecated This doesn't concerns only kcal anymore, since my last comment #7 : (In reply to comment #7) > I've switched to Kde 4.10.3 and ical resource since creating this bug report. > The problem still exists with this one, although it uses a bit less memory. > > The memory consumption : > Process # Memory # Shared memory > korganizer # 586,3 MiB # 55,2 MiB > akonadi_ical_resource # 337,3 MiB # 23,7 MiB > korgac # 448,1 MiB # 14,3 MiB > > still 1,371 GiB of memory used for 14514 calendar items (26,4 MiB in > akonadiconsole). The problem _still_ exists, and although it's less important than with kcal resource, ical and specifically korgac memory consumption is still too high for netbooks for instance. Here is my updated memory consumption using 4.11.2 : Process | Memory | Shared memory | Virtual Memory korganizer | 487.7 M | 31.0 M | 1.2 G akonadi_ical_resource_1 | 5.0 M | 12.7 M | 308.4 M akonadi_ical_resource_2 | 126.7 M | 13.5 M | 448.6 M ==> korgac | 469.0 M | 15.1 M | 1.0 G <== I think this bug shouldn't be closed, since the total memory usage for a single calendar is still huge (more than 1,088 GiB) for a 6.7 MiB ics file. Can you open a separate bug report ? the kcal leak is a different bug than the ical one New bug opened here : bug 329205. |