-
Notifications
You must be signed in to change notification settings - Fork 260
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
Upload Large file #16
Comments
@reejinbouk can you show me how you are setting up express-fileupload with express? |
PR #22 should have resolved this. |
Hi, I'm trying to upload a file of 2GB, but according with this nodejs/node#6560 2GB is the limit size. What can I do then? Splitting the file in chunks? Thanks. |
@richardgirges PR #22 did indeed improve the performance during the transfer, but the same error occurs for me (uploading 4gb) at the end of the transfer:
I'm running the latest |
This points to Perhaps, in the case of large files instead of |
Hello, I'm trying upload big file (40Mb) and get this error:
buffer.js:11
super(arg1, arg2, arg3);
^
RangeError: Array buffer allocation failed
at Buffer.Uint8Array (native)
at FastBuffer (buffer.js:11:5)
at createUnsafeBuffer (buffer.js:38:12)
at allocate (buffer.js:181:12)
at Function.Buffer.allocUnsafe (buffer.js:141:10)
at Function.Buffer.concat (buffer.js:309:23)
at FileStream. (/opt/pyxis_server/node_modules/express-fileupload/lib/index.js:27:24)
at emitOne (events.js:96:13)
at FileStream.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
Uploading 10Mb file is ok.
The text was updated successfully, but these errors were encountered: