Slow loading times on large vault

My TTRPG vault is admittedly large, but the loading times seem far longer than they should be and it appears to be the core plugins rather than the third-party ones slowing it down.

I’m on Mac Sonoma 14.6.1 running on a MacBook M1.

Here’s the last Obsidian start-up time breakdown, but the Core Plugins are all grouped together, so it’s difficult to tell what’s going on. Does anyone have any thoughts?

Obsidian version: v1.7.3
Installer version: v1.6.3
Operating system: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:21 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T8103 23.6.0

  • Total startup time: 61,488ms
  • Initialization: 335ms
  • Vault (64,160 files): 3,766ms
  • Workspace (26 tabs, 23 deferred): 616ms
  • Core plugins: 54,653ms
  • Community plugins (38 active): 2,118ms
    • Excalidraw (v2.5.0): 610ms
    • Fantasy Statblocks (v4.7.8): 304ms
    • Dice Roller (v11.0.5): 119ms
    • Kanban (v2.0.51): 77ms
    • Hover Editor (v0.11.20): 66ms
    • Omnisearch (v1.24.1): 59ms
    • Leaflet (v6.0.5): 57ms
    • Dataview (v0.5.67): 52ms
    • Calendarium (v1.4.0): 51ms
    • Initiative Tracker (v13.0.12): 51ms
    • Buttons (v0.5.1): 49ms
    • QuickAdd (v1.11.1): 46ms
    • Git (v2.27.0): 44ms
    • Templater (v2.7.1): 35ms
    • HTML Reader (v1.0.12): 35ms
    • Codeblock Completer (v0.0.13): 31ms
    • Image Toolkit (v1.4.1): 31ms
    • Text Format (v3.1.0): 30ms
    • MetaEdit (v1.8.2): 28ms
    • Admonition (v10.3.2): 27ms
    • Minimal Theme Settings (v8.1.1): 26ms
    • Insert Heading Link (v1.0.1): 25ms
    • Outliner (v4.8.1): 25ms
    • Inline Scripts (v0.24.12): 23ms
    • Convert url to preview (iframe) (v0.5.0): 23ms
    • Theme Picker (v1.0.8): 17ms
    • Style Settings (v1.0.9): 8ms
    • Note Refactor (v1.8.2): 8ms
    • BRAT (v1.0.3): 5ms
    • Workspaces Plus (v0.3.3): 4ms
    • Recent Files (v1.6.0): 4ms
    • Sortable (v0.3.1): 2ms
    • Hotkeys++ (v0.2.7): 2ms
    • Paste URL into selection (v1.7.0): 2ms
    • Enhance Copy Note (v0.2.1): 2ms
    • Force note view mode (v1.2.2): 2ms
    • Settings Search (v1.3.10): 1ms
    • txt as md (v0.0.1): 1ms

I’ll take a look! Can you share what core plugins you have enabled?

does disabling the file recovery plugin solve the problem?

Thanks @Liam - Is there a way of getting a listing of those from the debug tools/start-up report? Here are the screenshots otherwise.



Doesn’t seem to. The longest hang on the loading screen is “Loading Workspaces” but it’s difficult to know what’s actually going on there. Here’s the loading report with File Recovery turned off:

Obsidian start-up time breakdown

Obsidian version: v1.7.3
Installer version: v1.6.3
Operating system: Darwin Kernel Version 23.6.0: Mon Jul 29 21:14:21 PDT 2024; root:xnu-10063.141.2~1/RELEASE_ARM64_T8103 23.6.0

  • Total startup time: 53,266ms
  • Initialization: 252ms
  • Vault (64,162 files): 4,551ms
  • Workspace (27 tabs, 22 deferred): 738ms
  • Core plugins: 45,705ms
  • Community plugins (38 active): 2,020ms
    • Excalidraw (v2.5.0): 617ms
    • Fantasy Statblocks (v4.7.8): 353ms
    • Dice Roller (v11.0.5): 123ms
    • Kanban (v2.0.51): 77ms
    • Dataview (v0.5.67): 69ms
    • Omnisearch (v1.24.1): 68ms
    • Hover Editor (v0.11.20): 66ms
    • Calendarium (v1.4.0): 58ms
    • Initiative Tracker (v13.0.12): 51ms
    • Leaflet (v6.0.5): 49ms
    • QuickAdd (v1.11.1): 45ms
    • Git (v2.27.0): 42ms
    • Admonition (v10.3.2): 31ms
    • Insert Heading Link (v1.0.1): 30ms
    • Text Format (v3.1.0): 30ms
    • Minimal Theme Settings (v8.1.1): 29ms
    • Workspaces Plus (v0.3.3): 27ms
    • MetaEdit (v1.8.2): 27ms
    • Inline Scripts (v0.24.12): 25ms
    • Buttons (v0.5.1): 22ms
    • HTML Reader (v1.0.12): 12ms
    • Templater (v2.7.1): 9ms
    • Style Settings (v1.0.9): 8ms
    • Convert url to preview (iframe) (v0.5.0): 8ms
    • Note Refactor (v1.8.2): 8ms
    • Image Toolkit (v1.4.1): 7ms
    • Outliner (v4.8.1): 5ms
    • BRAT (v1.0.3): 3ms
    • Codeblock Completer (v0.0.13): 3ms
    • Recent Files (v1.6.0): 2ms
    • Paste URL into selection (v1.7.0): 2ms
    • Force note view mode (v1.2.2): 2ms
    • Sortable (v0.3.1): 1ms
    • Settings Search (v1.3.10): 1ms
    • Enhance Copy Note (v0.2.1): 1ms
    • Theme Picker (v1.0.8): 1ms
    • Hotkeys++ (v0.2.7): 1ms
    • txt as md (v0.0.1): 1ms

command palette->show debug info

That only shows the third-party ones though, no?

If you are willing, zip your vault, upload it somewhere and DM me or liam the link. We’ll take a look.

It’s not really possible. It’s 3.6GB, which could well be some of the problem, but without a breakout of the core plugin load times, it’s difficult to trace.

You could disable one core plugin at time, restart obsidian, and see what happens. Repeat until you find the culprit.

Begin with Backlinks, Files, Graph View, Search, Tag View

Will do. Or I’ll do the half at a time thing.