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

An error occurred: File size (3666700614) is greater than possible Buffer: 2147483647 bytes #9

Closed
markcarroll opened this issue Sep 26, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@markcarroll
Copy link

  • 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)
@fabiospampinato
Copy link
Member

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.

@fabiospampinato fabiospampinato transferred this issue from notable/notable Sep 28, 2019
@fabiospampinato fabiospampinato added the bug Something isn't working label Sep 28, 2019
@markcarroll
Copy link
Author

Yep, thanks. I did just that.

@fabiospampinato
Copy link
Member

I'm reopening this as I think eventually we should support arbitrarily sized files.

@fabiospampinato
Copy link
Member

Closing this in favor of #22.

The library now throws a regular error for huge files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants