dengste / org-caldav

Caldav sync for Emacs orgmode
GNU General Public License v3.0
718 stars 105 forks source link

Extremely slow sync #211

Open inglada opened 4 years ago

inglada commented 4 years ago

Hi, Unfortunately, the problem of https://github.com/dengste/org-caldav/issues/195 is still there. There were a couple of syncs which worked OK, but it is again taking long time. The events are retrived from the server and the "inbox" files are correctly populated. Since I only do a cal->org sync, that would be enough for me. Another info which may be useful is that my org-id-locations file has about 345K entries.

I don't see how to reopen the issue, so I am creating another one. Thanks

jsilve24 commented 3 years ago

I am having the same issues with only 77 calendar items... There is nothing else in that org file...

spookylukey commented 2 years ago

I have the same issue - about 5 minutes to do a sync when nothing at all has changed. Nothing is displayed during this time but Emacs is otherwise frozen. The org file has about 2000 entries, as does the org-caldav-XXX.el file. I'm also only doing cal->org.

One other clue:

After the initial sync, which is different and does display progress like "Getting event 123 of 2152", I noticed that switching through my buffers initially is very slow. One of the buffers that appears is an org-caldav sync debug buffer, and I think this is the one that is slowing things down - it seems to take Emacs a very long time to display. I'm wondering if this could be related.