Git Product home page Git Product logo

Comments (6)

Dzar34 avatar Dzar34 commented on May 22, 2024 1

It works great!! Thanks so much for creating this and working on a fix. I love it!

from obsidian-raycast.

marcjulianschwarz avatar marcjulianschwarz commented on May 22, 2024

Hello @Dzar34,

looks like you have too many notes for the Detail View as it will have to load the content for every note (unfortunately, will have to investigate if there is a better solution).
How many notes does your vault contain?
Try turning off the Detail View in the extensions preferences.

If that doesn’t help I will take a look at it. And I will try to find a solution for it to work with any amount of notes.

from obsidian-raycast.

Dzar34 avatar Dzar34 commented on May 22, 2024

Thanks for responding! I did turn off detail view, but I am still getting the same error. I have 10,650 notes 😳 I may just be an outlier!

from obsidian-raycast.

marcjulianschwarz avatar marcjulianschwarz commented on May 22, 2024

I was able to reproduce the error by creating a vault with 10.000 notes each with 100 words. It looks like the notes load just fine (independent of detail view state).

Logging the current memory usage reveals that the extension uses about 0.06 GB which should not be enough to reach the memory limit of node.
Another thing that I noticed was that everything worked as long as I was slowly going through the search results. The second I held down an arrow key (thus going through the results very fast) it reached the memory limit. The same thing happens when using the search, going through different queries fast will fill result in an error but it won't crash when I search slowly.

Help from someone with more experience is greatly appreciated as I currently don't know how to fix this.

from obsidian-raycast.

marcjulianschwarz avatar marcjulianschwarz commented on May 22, 2024

Found a way to get this fixed. Seems like Raycast can't handle rendering for more than 1k-3k list items. With the newest commit only 1000 items will be rendered and they change based on the search query.

You can try out the new version by cloning the repository, running npm install and then starting the extension with npm run dev. Let me know when everything is working.

from obsidian-raycast.

marcjulianschwarz avatar marcjulianschwarz commented on May 22, 2024

This has been fixed with version 1.6.0 which has now been released.

from obsidian-raycast.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.