-
Notifications
You must be signed in to change notification settings - Fork 324
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
crash when dropping a big file #464
Comments
Thank you for reporting this. BackgroundCurrently entire file is buffered in memory before being sent to external daemon, which introduces artificial limit on the max upload size. Current Upload Size LimitsChromeThis one looks really bad. An upload to an external node over Crashing Chrome is a known upstream bug, tracked in ipfs-inactive/js-ipfs-http-client#654 FirefoxFirefox works fine with 1GB file, but things bigger than 2GB hit language/lib limitations and fail silently with:
This is something we should at least provide proper error handling for. Possible WorkaroundsWhile waiting for upstream fixes, we can do some work to address these problems:
|
I partially addressed this in #483. Streaming only helps if embedded js-ipfs node is used. I was unable to address Firefox error under 2GB as I am working on low-memory laptop, will look at it next week. |
Switches to stream-http with a fix. Context: #464
dropping a big file (4GB) on the quick upload feature results in a crash
Clarifying tasks added by @lidel:
Buffer
max size is breachedThe text was updated successfully, but these errors were encountered: