-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] obsidian freezes on enabling the plugin #334
Comments
i did a little more tinkering the problem seems to be with my .excalidraw files that are interpreted as really really really big text files |
I'll add a setting to make indexing of excalidraw files an opt-in, as a quick fix. And increasing memory limit in Electron seems to be quite fiddly, if not straight up impossible if you can't build yourself :/ |
yeah i've been googling all over the past 6 hours :)))) couldn't find a thing, thank you for the response |
just an idea, can we change anything in that .asar file of obsidian to perhaps make this work differently? i have very limited programming knowledge so i have no idea if this even makes sense |
If you update Omnisearch, I added a (hidden) setting |
Ok so the crash happening while indexing an excalidraw file was just a coincidence. It's possible that your vault is somehow too large for Omnisearch; or actually, Omnisearch's RAM consumption during indexing is too high for Electron. Could you try this test build? I've reduced the size of batches during indexing, and added pauses between each batch to (hopefully) let the GC do its thing. omnisearch_1.20.4-bugfix.334.1.zip. You can extract the files right next to the |
Not the same problem, as it looks like Omnisearch is correctly indexing your files. If you have a large cache, it can indeed freeze Obsidian for a few second while all the data is processed and loaded in memory. |
@Mahgozar I have recently updated the cache loading mechanism. Does this issue still persist? |
when i run it with omnisearch it still freezes, im trying to run it for longer periods of time to see what happens but it freezes and gives the following error
|
this is the results after 30 minutes
|
tested again after the new update as well, still faced with out of memory errors |
Problem description:
in installing the plugin and when i enable it on my 8000 notes vault it shows the notification for indexing and after a few seconds obsidian freezes. i can see the ram and CPU usage climb up (nowhere near the limits of my machine)
when i run it with the developer console open it tells me that its stopped before an out of memory crash
but my machine has 16 gigabites of ram this shouldn't be a problem i think (although i have to mention the total size of the vault is 27 gigabytes)
Your environment:
Things to try:
The text was updated successfully, but these errors were encountered: