obsidian-dataview icon indicating copy to clipboard operation
obsidian-dataview copied to clipboard

Bug report Obsidian freezes with dataview AND Advanced Slides (solved)

Open pachwi opened this issue 1 year ago • 9 comments

What happened?

Obsidian version v1.5.2. with dataview 0.5.64. on macOS

all notes with dataview queries: obsidian gets extremely slow or stops working

If I ONLY disable dataview - everything is o.k. and runs as normal. This is only happening when I am opening notes with a dataview query.

Just tested another time:

dataview - causes the problem with v. 1.5.2 I just turned all community plugins off = speed as normal.

I turned community plugins OFF = speed as normal.

dataview ON = system goes down - RAM on Mac is running high. obsidian freezes and needs a re-start

Did not have the problem with obsidian v.1.5.1

DQL

No response

JS

No response

Dataview Version

0.5.64

Obsidian Version

1.5.2

OS

MacOS

pachwi avatar Dec 16 '23 22:12 pachwi

Can you share your queries? AFAIK there shouldn't have been any memory leaks but do you know which was the last stable version for you?

AB1908 avatar Dec 17 '23 19:12 AB1908

my last stable version was 1.5.1

If you could look on discord at the - #insider-desktop-release - there are some other users with the same issue..

The problem is, that I am unable to switch back to the previous version

SCR-20231217-sqiw

pachwi avatar Dec 17 '23 20:12 pachwi

Try to get closer to the problem:
I have rolled-back my complete obsidian installation to 1.4.16 and de-installed dataview.

New installation of dataview with actual version and still have the same issue.

so maybe it is not the 1.5.2 - there must be something else?! Any Idea how I can find out?

the linked mentions with around 400 entries take around 5 seconds to load - If I switch to dataview:

TABLE WITHOUT ID file.link as "", eigenschaft FROM [[]] SORT datentyp DESC

everything is freezing - and need around 5 minutes.

I remember that I had an Update on Mac to macOS Monterey 12.7.2 could this causes such an issue?

20.000 notes in my vault

pachwi avatar Dec 20 '23 15:12 pachwi

A little bit of info that might be related:

A few days ago I upgraded to Obsidian 1.5.3 from 1.4.x. I'm not sure, but it's possible that I upgraded Dataview to 0.5.64 at the same time, or I might have already been on that version. I'm on a Mid-2015 MacBook Pro with macOS 12.6.2. I have 1,286 notes in my vault.

When I upgraded I noticed that Obsidian's CPU usage jumped from roughly nothing when idle to a consistent 10% or so.

If I turn off Automatic View Refreshing the CPU usage goes down to nothing again. The Refresh Interval is the default 2500 and changing it (either smaller or larger) doesn't seem to change the amount of CPU used.

czr avatar Dec 31 '23 10:12 czr

@czr can you check if you also have the plugin "Advanced Slides" installed?

pachwi avatar Dec 31 '23 18:12 pachwi

@czr can you check if you also have the plugin "Advanced Slides" installed?

@pachwi No, I don't have Advanced Slides installed. I don't think I've ever had it.

My enabled plugins are:

Core:

  • Backlinks
  • Bookmarks
  • Canvas
  • Command palette
  • File recovery
  • Files
  • Format converter
  • Graph view
  • Note composer
  • Page preview
  • Quick switcher
  • Search
  • Sync
  • Templates
  • Word count

Community:

  • Advanced Tables
  • Calendar
  • Contextual Typography
  • Dataview
  • Excalidraw
  • Minimal Theme Settings
  • Open with
  • Outliner
  • Periodic Notes
  • Style Settings
  • Templater

And I initially isolated the problem by disabling the community plugins until I had narrowed it down to just Dataview.

czr avatar Dec 31 '23 19:12 czr

@czr thanks for your feedback!

Dataview freezes Obsidian with 20k Notes: SOLVED and now running as normal!

I write this down, perhaps helpful for other users:

I disabled all other community plugins (except Dataview). Activated the other ones step by step and found out that:

Dataview with Advanced Slides is freezing Obsdian!

I am now running all other community plugins running (except Advanced Slides) and Obsidian is running perfect again.

Community plugins here: Breadcrumbs Dataview Excalidraw File Explorer Note Count Full Calendar Minimal Theme Settings ReaditLater Super Simple Time Tracker Task Templater

pachwi avatar Jan 01 '24 08:01 pachwi

Can confirm I am encountering the same issue.

devinat1 avatar Jan 15 '24 23:01 devinat1

I've also some latency issues with Dataview installed and Advanced Slides installed, but the trick above didn't help. I have disabled 50 plugins while keeping Dataview active, but that does not resolve the issue. Only if I'm disabling Dataview, Obsidian remains usable. I'm using Obsidian 1.5.3 on Linux Ubuntu, with Dataview 0.5.64

SansGuidon avatar Feb 12 '24 10:02 SansGuidon