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

Buffer size #3

Open
greatdayne opened this issue Jun 9, 2020 · 0 comments
Open

Buffer size #3

greatdayne opened this issue Jun 9, 2020 · 0 comments

Comments

@greatdayne
Copy link

I am getting an error when reading a file larger than ~2 GB. I get

"fs.js:319
throw new ERR_FS_FILE_TOO_LARGE(size);
^
RangeError [ERR_FS_FILE_TOO_LARGE]: File size (6369042087) is greater than possible Buffer: 2147483647 bytes"

After some research, I see this is a buffer limitation in Node however I do not have this issue with tippacanoe so I am assuming they are doing some sort of stream like https://stackoverflow.com/a/44994896 I am doing clustering on a national dataset so splitting the file seems less than ideal as I would assume it would mess up clustering unless I am missing something. Thank you

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