-
Notifications
You must be signed in to change notification settings - Fork 540
feat: Prevent overloading system memory when running locally #1270
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
Conversation
janbuchar
commented
Jun 25, 2025
- closes Autoscaling failsafe to prevent using up all memory when running locally #1232
| current_size: ByteSize | ||
| """Memory usage of the current Python process and its children.""" | ||
|
|
||
| system_wide_used_size: ByteSize | None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe these two new values can have default None, I saw it is anyway initialized with None both in code and test
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But I already updated all the call sites... and I'd need to reorder the fields in the dataclass
vdusek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM