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

Provide hint in logged error for [ERROR]: [parseGLTFIntoXKTModel] RangeError: Invalid typed array length: 11340 #151

Open
xeolabs opened this issue Apr 24, 2024 · 0 comments

Comments

@xeolabs
Copy link
Member

xeolabs commented Apr 24, 2024

We are frequently getting users complaining of this error, which is simply NodeJs trying to load an entire geometry buffer attachment into an array that exceeds JavaScript's max size ability.

Wrap this in a try-catch that advises them to use ifc2gltf's model splitting feature, which is designed to avoid this situation.

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