Git Product home page Git Product logo

Comments (5)

raycastbot avatar raycastbot commented on July 21, 2024

Thank you for opening this issue!

🔔 @AnishDe12020 @kud @casassg @Princeyadav05 you might want to have a look.

💡 Author and Contributors commands

The author and contributors of doist/todoist can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopen the issue.

from extensions.

lucymhdavies avatar lucymhdavies commented on July 21, 2024

Looks like my issue is a duplicate: #10789

So copying over my latest comment from that issue:

The issue has been happening every few days since I initially reported it. Same error logs.

On days where the issue occurs (such as today), reloading the extension will work for a few seconds at best, and then crash again.

Given the error is related to an out-of-memory issue, my theory is that it occurs on days where there are many tasks in my todo list, and doesn't happen on days when there are fewer. But I've not yet been able to validate this theory.

Is there any way to get more detailed logs to see what's going on?

from extensions.

gh0stdotexe avatar gh0stdotexe commented on July 21, 2024

On days where the issue occurs (such as today), reloading the extension will work for a few seconds at best, and then crash again.

Given the error is related to an out-of-memory issue, my theory is that it occurs on days where there are many tasks in my todo list, and doesn't happen on days when there are fewer. But I've not yet been able to validate this theory.

I believe you might be onto something. I have experimented with the task text display limit, which currently is set to 35, but I have also tried settings ranging from 20 to over 40. Additionally, I've tested filtering techniques to display fewer tasks from my typically full to-do list.

Just like you, I haven't been able to fully validate this theory. However, I suspect that the solution to the issue lies in this direction.

from extensions.

lucymhdavies avatar lucymhdavies commented on July 21, 2024

I've added a bunch of "test" tasks to my Today list, to see if I can force a crash.
(I was able to clear the crash in my case by reducing the number of tasks in my Today, and clearing the extension's cache)

So far, 110 tasks works fine (with most of those being "test"). But I suspect it's less to do with the number of tasks, and more to do with the amount of memory each task takes up. e.g. a recurring task that has been repeated for several months would take up more memory than a similar task which has never been completed.

I wouldn't expect the task text display limit would affect this bug, as the extension would still need to load the entire task into memory. But I'm not gonna rule that out either. For now, I've set mine to 100 characters, and it's not yet causing any issues.

I'm sure with enough dedication (or automation) I'd be able to force a crash, but so far with these small "test" tasks I've not been able to do so yet.

from extensions.

lucymhdavies avatar lucymhdavies commented on July 21, 2024

turns out i can duplicate a whole bunch of tasks in one go.

so with 206 "test" tasks (in addition to the real tasks in my list), I'm able to force a crash.
(This is waaaaay more tasks than I'd normally have. Normally I see the issue at around 50 tasks. but those tasks have more data in them than these simple "test" tasks)

So now that I have a reasonably reliable way to force a crash... if we knew of a good way to get more error logs, then we'd be closer to figuring out how to resolve the issue.

from extensions.

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.