An error occurred: File size (3666700614) is greater than possible Buffer: 2147483647 bytes
markcarroll opened this issue · comments
Mark Carroll commented
- OS Version: darwin 18.7.0
- Notable Version: v1.7.3
RangeError [ERR_FS_FILE_TOO_LARGE]: File size (3666700614) is greater than possible Buffer: 2147483647 bytes
at FSReqCallback.readFileAfterStat [as oncomplete] (fs.js:274:11)
Fabio Spampinato commented
Are you importing a ~3GB file?
A workaround for this at this at the moment is to export and import your notes in smaller batches.
Mark Carroll commented
Yep, thanks. I did just that.
Fabio Spampinato commented
I'm reopening this as I think eventually we should support arbitrarily sized files.
Fabio Spampinato commented
Closing this in favor of #22.
The library now throws a regular error for huge files.