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

New operation status for partial completion #75

Open
3 tasks
jnation3406 opened this issue Mar 31, 2025 · 0 comments
Open
3 tasks

New operation status for partial completion #75

jnation3406 opened this issue Mar 31, 2025 · 0 comments

Comments

@jnation3406
Copy link
Contributor

For certain operations like median, It would be nice to attempt and produce a result before running out of memory, rather than just letting the operation run out of memory and failing or hanging. We could either add a new status option for partial completion, or just fill in the error message and COMPLETE status to show that it completed with some caveats.

  • For Median and Stack operations, load in the images one by one and keep track of their size - when it has exceeded some safe limit we set, stop loading images and process what we have currently loaded
  • Once complete, record some note in the "message" cache for the operation detailing what happened ("15/20 images used - memory limit reached") and set the operation to completed with that message and output
  • Change frontend to check for the message and if its complete with a message, maybe change the button color or add a "!" icon or something to it to note it had an issue, and show the message on hover-over like we do with FAILED operations.
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