After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 635550 - e-calendar-factory leaks memory
e-calendar-factory leaks memory
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Calendar
3.0.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2010-11-22 20:05 UTC by Milan Crha
Modified: 2013-09-14 16:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
eds patch (6.29 KB, patch)
2010-11-22 20:10 UTC, Milan Crha
committed Details | Review

Description Milan Crha 2010-11-22 20:05:35 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=653879

Description of problem:
e-calendar-factory eats memory , ~683megs rss , 1234m ( virt ) 


Version-Release number of selected component (if applicable):
libsoup-2.32.0-2.fc14.x86_64
evolution-data-server-doc-2.91.2-1.fc14.noarch
evolution-devel-2.91.2-1.fc14.x86_64
evolution-bogofilter-2.91.2-1.fc14.x86_64
evolution-2.91.2-1.fc14.x86_64
evolution-data-server-devel-2.91.2-1.fc14.x86_64
evolution-data-server-2.91.2-1.fc14.x86_64

How reproducible:
always 

Steps to Reproduce:
1. always.

Actual results:
memory hog

Expected results:
be stingy

Additional info:
Calendar in use

[4 webcal and 1 caldav calendar)

"Birthdays and Anniversaries" is enabled
Personal is enabled ( On this computer )

I also see Personal listed twice more.
Comment 1 Milan Crha 2010-11-22 20:10:03 UTC
Created attachment 175066 [details] [review]
eds patch

for evolution-data-server;

I realized that EIntervalTree is leaking its memory, especially when inserting same component multiple times, which is the case for a refresh on WebCal calendars. I fixed that and couple more obvious leaks in that code.
Comment 2 Milan Crha 2010-11-22 20:18:45 UTC
Created commit e151ddc in eds master (2.91.3+)
Created commit eb94ed9 in eds gnome-2-32 (2.32.2+)