Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance issues loading batches #35

Open
jinnthehuman opened this issue Aug 17, 2023 · 0 comments
Open

Performance issues loading batches #35

jinnthehuman opened this issue Aug 17, 2023 · 0 comments

Comments

@jinnthehuman
Copy link
Collaborator

If the list of batches is very large (the project I tested on had 10k+ batches), the observed behavior is the tab crashes due to an out of memory error or the batches list table reverts to a "no results" state after showing partial results.

I suspect the following things are happening:

  1. The plugin is requesting all of the page for batches list during initialization instead of requesting a handful and continuing the request as the user pages through the list.
  2. The batch info that the plugin requests are stored in memory, which can grow very large and cause OOM errors.
  3. Due to the volume of requests sent in a short period of time, the server returns with a 429 error.
ojarjur pushed a commit that referenced this issue May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant