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

"size" argument must not be larger than 2147483647 #19

Closed
EasyAsABC123 opened this issue Aug 28, 2019 · 5 comments
Closed

"size" argument must not be larger than 2147483647 #19

EasyAsABC123 opened this issue Aug 28, 2019 · 5 comments

Comments

@EasyAsABC123
Copy link

Can't sha large files

@ForbesLindesay
Copy link
Owner

Is this sync or async or streaming? What's the stack trace?

@EasyAsABC123
Copy link
Author

EasyAsABC123 commented Aug 29, 2019 via email

@ForbesLindesay
Copy link
Owner

I have no intention of changing that. If you need to handle sizes over 2GB, use one of the async methods.

@EasyAsABC123
Copy link
Author

EasyAsABC123 commented Sep 5, 2019 via email

@ForbesLindesay
Copy link
Owner

The async methods stream, so likely have a much larger limit. The sync method must load the entire file in memory in one go. The stream method never keeps more than a small chunk of the file in memory at any given moment.

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

2 participants