SkepticMystic / graph-analysis

Analyse the structure of your Obsidian graph using various analysis techniques
GNU General Public License v3.0
413 stars 19 forks source link

The number of notes in my vault exceeds 10,000, and obsidian always crashes when using this plugin. #13

Closed tyf2018 closed 3 years ago

tyf2018 commented 3 years ago

Thank you for your development work, I feel that this plugin is very helpful to me.

Unfortunately, the number of notes in my vault exceeds 10,000, and obsidian always crashes when using this plugin.

SkepticMystic commented 3 years ago

Oh wow... haha yeah that might be an issue. Do you get any errors in the console when this happens? You may need to enable Preserve Log in the console to make sure the message doesn't disappear: image

tyf2018 commented 3 years ago

@SkepticMystic Please check😊

obsidian.md-1635649375853.log

SkepticMystic commented 3 years ago

@tyf2018 please check if this is resolved in the latest version :) If not, we may just need to wait longer for the vault to finish loading

tyf2018 commented 3 years ago

@tyf2018 please check if this is resolved in the latest version :) If not, we may just need to wait longer for the vault to finish loading

This version still crashes 🤣

HEmile commented 3 years ago

Is it possible to show the log you are getting now?

tyf2018 commented 3 years ago

Is it possible to show the log you are getting now?

After opening the latest version of the plug-in, Obsidian crashed immediately. Please check.

obsidian.md-1635753808409.log

SkepticMystic commented 3 years ago

@tyf2018 can you try 0.1.0 and see if that changes anything. It's possible the error is unrelated to what we fixed, though

tyf2018 commented 3 years ago

@tyf2018 can you try 0.1.0 and see if that changes anything. It's possible the error is unrelated to what we fixed, though

This time it has been improved a bit, but it will crash after opening the plug-in for about ten seconds or so.

obsidian.md-1635757498907.log

HEmile commented 3 years ago

Thank you for sharing. I think there might be a crash related to you using Chinese symbols. We'll look into it!

tyf2018 commented 3 years ago

Great, the new version won't crash anymore!

SkepticMystic commented 3 years ago

Hahaha that's great! Not sure exactly what fixed it, but happy to hear it's working

HEmile commented 3 years ago

Haha, I was going to try to debug this... Glad to hear it works!