question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug?: Breadcrumbs index occupies huge amount of RAM / Obsidan lags (and on mobile: crashes)

See original GitHub issue

If I ‘activate’ the breadcrumbs plugin on my Windows PC it builds the index, the CPU utilization goes up and the occupied RAM for Obsidian increases from 700 MB to 2400 MB and it stays at this level (that would be about 1700 MB only for the breadcrumbs index …). Obsidian ‘lags’, but there are no breadcrumb-errors in the developer console.

(Additionally: If I ‘activate’ the breadcrumbs plugin on my android phone, obsidian mobile hangs/crashes after a while - so I can’t use breadcrumbs in Obsidian any more).

I don’t know why breadcrumb occupies such huge amount of RAM and slows down obsidian.

Any idea/help or advice?

Thanks in advance!


Background information:

Breadcrumbs version: 3.6.4 Obsidian version: v1.0.3 Installer version: v1.0.3 Operating system: Windows 10 Pro 10.0.19045 Insider build toggle: off Live preview: on Community theme: Minimal Plugins enabled: 66

I’m working (building hierarchies) only with “Tag Notes” Notes in the Vault: 6215 Tags in the Vault: 8715 (mostly nested)

Tag Note Example:

---
tags:
  - Thema/Software/Obsidian
BC-tag-note: '#Thema/Software/Obsidian'
BC-tag-note-field: Down
BC-tag-note-exact: true
---

Configuration (data.json)

{
  "addDendronNotes": false,
  "addDateNotes": false,
  "aliasesInIndex": false,
  "alphaSortAsc": true,
  "altLinkFields": [],
  "CSVPaths": "",
  "createIndexIndent": "  ",
  "dateFormat": "YYYY-MM-DD",
  "dateNoteFormat": "yyyy-MM-dd",
  "dateNoteField": "next",
  "dataviewNoteField": "up",
  "dateNoteAddMonth": "",
  "dateNoteAddYear": "",
  "debugMode": "WARN",
  "dendronNoteDelimiter": ".",
  "dendronNoteField": "Up",
  "dvWaitTime": 5000,
  "enableAlphaSort": true,
  "enableRelationSuggestor": false,
  "fieldSuggestor": false,
  "filterImpliedSiblingsOfDifferentTypes": true,
  "jugglLayout": "hierarchy",
  "limitWriteBCCheckboxes": [
    "Up",
    "Down",
    "Next",
    "Prev"
  ],
  "CHECKBOX_STATES_OVERWRITTEN": true,
  "gridDefaultDepth": 25,
  "gridHeatmap": false,
  "heatmapColour": " #705dcf",
  "hierarchyNotes": [
    ""
  ],
  "hierarchyNoteIsParent": false,
  "HNUpField": "",
  "indexNotes": [
    "START"
  ],
  "namingSystemField": "",
  "namingSystemRegex": "",
  "namingSystemSplit": ".",
  "namingSystemEndsWithDelimiter": false,
  "refreshOnNoteChange": false,
  "useAllMetadata": false,
  "openMatrixOnLoad": true,
  "openDuckOnLoad": false,
  "openDownOnLoad": false,
  "parseJugglLinksWithoutJuggl": false,
  "showNameOrType": true,
  "showRelationType": false,
  "regexNoteField": "",
  "relSuggestorTrigger": "\\",
  "rlLeaf": false,
  "showAllPathsIfNoneToIndexNote": false,
  "showAllAliases": true,
  "showBCs": false,
  "showBCsInEditLPMode": false,
  "showRefreshNotice": true,
  "showImpliedRelations": true,
  "showTrail": true,
  "showGrid": false,
  "showJuggl": false,
  "showPrevNext": false,
  "sortByNameShowAlias": false,
  "squareDirectionsOrder": [
    0,
    2,
    1,
    3,
    4
  ],
  "limitTrailCheckboxes": [
    "Up"
  ],
  "limitJumpToFirstFields": [
    "Up",
    "Down",
    "Next",
    "Prev"
  ],
  "showAll": "All",
  "noPathMessage": "Kein Breadcrumb-Trail gefunden",
  "tagNoteField": "Down",
  "threadIntoNewPane": false,
  "threadingTemplate": "{{field}} of {{current}}",
  "threadingDirTemplates": {
    "up": "",
    "same": "",
    "down": "",
    "next": "",
    "prev": ""
  },
  "threadUnderCursor": false,
  "trailSeperator": ">",
  "treatCurrNodeAsImpliedSibling": true,
  "trimDendronNotes": false,
  "respectReadableLineLength": true,
  "userHiers": [
    {
      "up": [
        "Up"
      ],
      "same": [
        "Same"
      ],
      "down": [
        "Down"
      ],
      "next": [
        "Next"
      ],
      "prev": [
        "Prev"
      ]
    }
  ],
  "writeBCsInline": false,
  "showWriteAllBCsCmd": false,
  "visGraph": "Force Directed Graph",
  "visRelation": "Parent",
  "visClosed": "Real",
  "visAll": "All",
  "wikilinkIndex": true,
  "impliedRelations": {
    "siblingIdentity": false,
    "sameParentIsSibling": true,
    "siblingsSiblingIsSibling": false,
    "parentsSiblingsIsParents": false,
    "parentsParentsIsParent": false,
    "cousinsIsSibling": false
  },
  "refreshOnNoteSave": false,
  "showUpInJuggl": false,
  "defaultView": true,
  "downViewWrap": true,
  "dotsColour": "#000000",
  "gridDots": false,
  "openStatsOnLoad": false,
  "overflowMLView": false
}

Issue Analytics

  • State:open
  • Created 10 months ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
BricoleurSoulcommented, Dec 2, 2022

Mine is much closer to the 6k than the 50k at 14000 but no problem at all. So my vault adds a hearty chuckle too😀 On Dec 1, 2022 at 8:30 PM -0800, Phillip Johnston @.***>, wrote:

My 50,000 note vault laughs at the idea that 6000 is large by any standard. But I also don’t experience this when I use Breadcrumbs. When I refresh the index, there is perhaps a 5 second lag. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

0reactions
avirossocommented, Dec 12, 2022

@KuiyueRO: Thanks for the advice - but I never turned on ‘Ducks View’ or ‘Refresh Index on Note Change’ (it’s always off) …

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · SkepticMystic/breadcrumbs - GitHub
API: https://skepticmystic.github.io/breadcrumbs/ - Issues ... Bug?: Breadcrumbs index occupies huge amount of RAM / Obsidan lags (and on mobile: crashes) ...
Read more >
Change Log for Plesk Obsidian
Find out about changes, additions and updates to Plesk Obsidian on an ... longer crashes if the passenger.log file of a domain is...
Read more >
What causes mobile app slowness and crashes?
Mobile app lags and crashes are one of the last things you want to be dealing with during an inspection, but they can...
Read more >
Accidental VC Archives - NextView Ventures
Index investing has been one of the most transformative forces in the investing world over the last several decades, starting with index mutual...
Read more >
Have Comments about Windows 7 Beta? - Microsoft
I only have 2.5 GB RAM so it's a little slow at times but more RAM is on order. ... the Biometrics work...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found