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

RangeError: "size" argument must not be larger than 2147483647 #14

Open
soichih opened this issue Sep 12, 2018 · 0 comments
Open

RangeError: "size" argument must not be larger than 2147483647 #14

soichih opened this issue Sep 12, 2018 · 0 comments

Comments

@soichih
Copy link

soichih commented Sep 12, 2018

I am trying to archive a big file (around 3G) using npm archiver module. When I do, I run into following error message.

buffer.js:224
    throw err;
    ^

RangeError: "size" argument must not be larger than 2147483647
    at Function.Buffer.alloc (buffer.js:233:3)
    at new Buffer (buffer.js:156:19)
    at Readable.<anonymous> (/home/04040/hayashis/app/node-v8.12.0-linux-x64/lib/node_modules/brainlife/node_modules/archiver-utils/index.js:39:15)
    at emitNone (events.js:111:20)
    at Readable.emit (events.js:208:7)
    at endReadableNT (/home/04040/hayashis/app/node-v8.12.0-linux-x64/lib/node_modules/brainlife/node_modules/readable-stream/lib/_stream_readable.js:1010:12)
    at _combinedTickCallback (internal/process/next_tick.js:139:11)
    at process._tickCallback (internal/process/next_tick.js:181:9)

Is this a limitation imposed on my OS (I am using Linux kernel 3.10.0-693.17.1.el7.x86_64).. or something I need to adjust on the node itself?

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

1 participant