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

Todo: fallback when out-of-memory or kill #5

Open
johnpaulbin opened this issue Nov 26, 2021 · 1 comment
Open

Todo: fallback when out-of-memory or kill #5

johnpaulbin opened this issue Nov 26, 2021 · 1 comment

Comments

@johnpaulbin
Copy link
Contributor

when someone toys with the api around too much, it can cause the server to go out of memory, killing the flask app. as a temporary fix, going to decrease batch size.

future reference code:
https://gist.github.com/kevinxhan/6c0bbc68f2ea6b2f4a620e5413c98fb8

@johnpaulbin
Copy link
Contributor Author

johnpaulbin commented Nov 26, 2021

lowered batch size 64 -> 42

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