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 memory leak in B2 client #500

Merged
merged 3 commits into from
Jun 11, 2021
Merged

Fix memory leak in B2 client #500

merged 3 commits into from
Jun 11, 2021

Conversation

davies
Copy link
Contributor

@davies davies commented Jun 8, 2021

The current library used to access B2 is kurin/blazer, which is highly optimized for reading large files, but we only need to access small blocks in B2, most of the optimization are not needed here.

This PR switch to use another smaller library kothar/go-backblaze.

Close #496

@davies davies mentioned this pull request Jun 8, 2021
@davies davies merged commit 9ef2eb3 into main Jun 11, 2021
@davies davies deleted the fix_b2 branch June 11, 2021 00:47
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.

Out of Memory 0.13.1
1 participant