delashum / obsidian-checklist-plugin

MIT License
390 stars 42 forks source link

Very high CPU usage, then a guaranteed crash of Obsidian #119

Open DevJake opened 2 years ago

DevJake commented 2 years ago

Hey! I've really enjoyed using this plugin, it works wonders. However, as of this morning, I've noticed it seems to be causing some seriously high CPU usage (jumping from <2% at idle to over 35% in Task Manager), followed by a 100% guarantee of Obsidian crashing.

I've disabled all of my plugins, going through one by one and re-enabling. I've confirmed it is definitely this plugin. One important aspect to note is that this occurs when a file is saved via ctrl+s. So I imagine some event is being fired that calls upon a very intensive algorithm and, as a result of this algorithm failing, running indefinitely, typing up system resources etc., it results in Obsidian crashing.

I'm sorry I haven't included any logs or other information. Nothing appears in the console from ctrl+shift+i. Let me know what other information I can provide and I shall.

alex-kovac commented 2 years ago

I can confirm this. Drastically increased CPU usage on'WindowServer' and 'Obsidian Helper' processes, and a spinning animation on checklist pane. (Mac Mini M1)

Possibly duplicate #109 .

jroachgit commented 2 years ago

Hi, I've witnessed this issue occurring with obsidian for approx the last 3 weeks, whereby due to priorities, I hadn't gotten around to determining which plugin was causing the drama. Unfortunately, once I removed this plugin from my dir, obsidian started behaving as normal. I haven't determined if specific plugin settings causes the issue. I'll find time to start a separate vault to test specifically. it might be a combination of plugins that are causing the issue...