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

Hash function allocates too much memory for large files #437

Merged
merged 2 commits into from
Sep 26, 2019

Conversation

matt-way
Copy link

The hash() function allocates an array the full size of the file, so in low mem devices, large files can create an out of mem exception. This should be chunked like every other file streaming process!

@Traviskn
Copy link

agreed, thank you for your PR!

@Traviskn Traviskn merged commit 9a43620 into joltup:master Sep 26, 2019
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