You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a car file of a large folder using ipfs-car. However, when I later call ipfs-car to get the hash of that file, I get an error that the file is too large.
Steps to reproduce:
~/data
❯ ipfs-car pack mit-ocw --output mit-ocw-hash-test.car
bafybeifbua4aqsuiuqobeu7gxccyqx26ckxzxu5fdxermjrahimp65aiay
~/data 24s
❯ ipfs-car hash mit-ocw-hash-test.car
node:internal/fs/promises:526
throw new ERR_FS_FILE_TOO_LARGE(size);
^
RangeError [ERR_FS_FILE_TOO_LARGE]: File size (16911159405) is greater than 2 GiB
at readFileHandle (node:internal/fs/promises:526:11)
at async Module.hash (file:///Users/i/.nvm/versions/node/v21.2.0/lib/node_modules/ipfs-car/cmd/hash.js:13:13) {
code: 'ERR_FS_FILE_TOO_LARGE'
}
Node.js v21.2.0
~/data
❯ ls -l
-rw-r--r--@ 1 i staff 16911159405 Nov 29 14:04 mit-ocw-hash-test.car
The text was updated successfully, but these errors were encountered:
I created a car file of a large folder using ipfs-car. However, when I later call ipfs-car to get the hash of that file, I get an error that the file is too large.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: