obsidian-community / obsidian-full-calendar

Keep events and manage your calendar alongside all your other notes in your Obsidian Vault.
https://obsidian-community.github.io/obsidian-full-calendar/
MIT License
809 stars 111 forks source link

Obsidian is loading very slow on iOS with Full Calendar enabled #329

Open asmagen opened 1 year ago

asmagen commented 1 year ago

Obsidian loading is incredibly slow when plugin is enabled, even with a minimal amount of events/daily notes Also getting stuck at loading if there are too many events, about 200 in mine

davish commented 1 year ago

I believe this is a duplicate of #324, but will need more information from you in order to confirm that. Can you send a screenshot or copy/paste the contents of the JavaScript console while Obsidian is loading?

asmagen commented 1 year ago

It crashes on iOS while loading -- how do I get any console info in this case?

davish commented 1 year ago

does this also happen on desktop?

asmagen commented 1 year ago

No

Mauwzola commented 1 year ago

I've been experiencing similar problems for a few weeks now. With about 200 events and 3500 total notes in my Vault, on my iPhone, Obsidian gets hung up halfway through the indexing function and, after a restart or two, gets hung with a white screen displayed. When I disable Full Calendar, it works fine. On the desktop, at startup, the "Loading cache..." phase takes a few minutes with Full Calendar enabled, but it takes no time at all when Full Calendar is disabled.

asmagen commented 1 year ago

Yes it has an issue somehow with either a lot of events, or potentially just when using multiple calendar types (daily notes + full notes), or potentially when the daily notes header has something other than the calendar event info (mixed with other non calendar rows)


From: Mauwzola @.> Sent: Saturday, April 15, 2023 11:46 AM To: davish/obsidian-full-calendar @.> Cc: Magen, Assaf @.>; Author @.> Subject: Re: [davish/obsidian-full-calendar] Obsidian is loading very slow on iOS with Full Calendar enabled (Issue #329)

USE CAUTION: External Message.

I've been experiencing similar problems for a few weeks now. With about 200 events and 3500 total notes in my Vault, on my iPhone, Obsidian gets hung up halfway through the indexing function and, after a restart or two, gets hung with a white screen displayed. When I disable Full Calendar, it works fine. On the desktop, at startup, the "Loading cache..." phase takes a few minutes with Full Calendar enabled, but it takes no time at all when Full Calendar is disabled.

— Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_davish_obsidian-2Dfull-2Dcalendar_issues_329-23issuecomment-2D1509875429&d=DwMCaQ&c=shNJtf5dKgNcPZ6Yh64b-ALLUrcfR-4CCQkZVKC8w3o&r=SInwANxfOqZV8sfAkxasc63IcQTR_urEPBUbRUaFT94&m=4PGD9yYCVaSFt9aarUgA1mm_lpBHj4GHs1sUEmr4qGS1p6SAfgCUAxwyRe0rJWhE&s=Brhvr0RrMEw_YAYnPndto32dROO3dMjR36y8Qks8dPI&e=, or unsubscribehttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ACWGV4D763HC2ASVL5RJ7ILXBK7GPANCNFSM6AAAAAAWPXWBZE&d=DwMCaQ&c=shNJtf5dKgNcPZ6Yh64b-ALLUrcfR-4CCQkZVKC8w3o&r=SInwANxfOqZV8sfAkxasc63IcQTR_urEPBUbRUaFT94&m=4PGD9yYCVaSFt9aarUgA1mm_lpBHj4GHs1sUEmr4qGS1p6SAfgCUAxwyRe0rJWhE&s=jtThKUX8_1xHzOSo19zWAslUo4zNYl-uoFh27Ht1qj8&e=. You are receiving this because you authored the thread.Message ID: @.***>

Mauwzola commented 1 year ago

I'm wondering if it might be related to recurring events? I don't use Full Calendar to add new events as I employ a more elaborate template. As a result, most of my event notes contain blank startRecur, endRecur, and daysOfWeek fields. Haven't looked into this, but I'm wondering if perhaps the indexing function is overthinking these entries?

mehhl commented 1 year ago

I had the same on my iPhone 11 and I don't think it's related to recurring events. I had 5 full calendars with I think around 500 non-recurring events, and that was too much for it. It actually freezes the app and won't load it at all. Here is another reference to the same bug on an iPad:

https://www.reddit.com/r/ObsidianMD/comments/1465qsv/is_anyone_having_problem_using_full_calendar/

For now I switched to having separate calendars for iOS, that only have the last week, and archive calendars that hold the rest. The issue is annoying enough that I'll maybe look into it myself in the future.