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

fix(mem): Recalculate chunk size at each iteration #3

Merged
merged 1 commit into from
Sep 2, 2020

Conversation

GMishx
Copy link
Member

@GMishx GMishx commented Aug 13, 2020

Instead of calculating free memory only once before the worker loop, calculate it in each iteration reducing the risk of causing out of memory errors.

Signed-off-by: Gaurav Mishra mishra.gaurav@siemens.com

Instead of calculating free memory only once before the worker loop,
calculate it in each iteration reducing the risk of causing out of
memory errors.

Signed-off-by: Gaurav Mishra <mishra.gaurav@siemens.com>
@GMishx GMishx requested a review from ag4ums August 13, 2020 10:58
Copy link
Contributor

@ag4ums ag4ums left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, working as expected

@ag4ums ag4ums merged commit f28b023 into master Sep 2, 2020
@GMishx GMishx deleted the fix/mem/recalc-each-itter branch September 2, 2020 05:45
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

Successfully merging this pull request may close these issues.

2 participants