raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.28k stars 2.98k forks source link

[Jira Time Tracking] JS Heap out of Memory for large project #12886

Closed marcgemis closed 1 month ago

marcgemis commented 3 months ago

Extension

https://www.raycast.com/niallpaterson/jira-time-tracking

Raycast Version

1.76.0

macOS Version

14.4.1

Description

The plugin works fine for a "smaller" project with ca 3000 entries There are problems with a project with ca 23000 entries.

With the development version I got the other day, I get

` Error: Worker terminated due to reaching memory limit: JS heap out of memory

NodeError:errors:406:5

Worker..onexit:worker:229:20 `

In the Raycast window I see that around 11.000 of the 23.000 issues where loaded.

When this happens, one cannot log time for a issues within that project. Even, when the issue is one of the more recent onces and was picked from the dropdown menu offered by the plugin

Steps To Reproduce

  1. open plugin
  2. select the project with +23.000 issues
  3. select the issue to which one wants to log time
  4. fill in the time submit wait ... (forever)

Current Behaviour

No response

Expected Behaviour

I wouldn't mind if there was a limit to the number of issues in memory, as long as the most recent issues are loaded.

raycastbot commented 3 months ago

Thank you for opening this issue!

🔔 @niallpaterson @0w0miki you might want to have a look.

💡 Author and Contributors commands The author and contributors of `niallpaterson/jira-time-tracking` 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` Reopens the issue. - `@raycastbot assign me` Assigns yourself to the issue. - `@raycastbot good first issue` Adds the "Good first issue" label to the issue. - `@raycastbot keep this issue open` Make sure the issue won't go stale and will be kept open by the bot.
LewisLebentz commented 3 months ago

Have the same issue in Slack: https://github.com/raycast/extensions/issues/13067

haydencbarnes commented 3 months ago

Have the same issue in Slack: #13067

Hi @LewisLebentz , this is a fairly large issue across extensions: https://github.com/raycast/extensions/issues/10127#issuecomment-2104485073

raycastbot commented 1 month ago

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

raycastbot commented 1 month ago

This issue has been automatically closed due to inactivity.

Feel free to comment in the thread when you're ready to continue working on it 🙂

You can also catch us in Slack if you want to discuss this.

haydencbarnes commented 1 month ago

Keep open

Xiang-Pan commented 1 month ago

Stupid bot kill the community!