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

File size is greater than 2 GB - ERR_FS_FILE_TOO_LARGE #586

Open
cansik opened this issue May 14, 2021 · 1 comment
Open

File size is greater than 2 GB - ERR_FS_FILE_TOO_LARGE #586

cansik opened this issue May 14, 2021 · 1 comment

Comments

@cansik
Copy link

cansik commented May 14, 2021

If you want to convert files that are larger than 2 GB the script fails:

gltf-pipeline.cmd -i .\test.glb -o test-draco.glb
RangeError [ERR_FS_FILE_TOO_LARGE]: File size (3024083820) is greater than 2 GB
    at FSReqCallback.readFileAfterStat [as oncomplete] (fs.js:294:11) {
  code: 'ERR_FS_FILE_TOO_LARGE'
}

Would it be possible to increase this limit? Maybe by using streams instead of reading the full content of the glb?

@Smart-YiXiu
Copy link

Do you have a solution now?

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

2 participants