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

xktv10 high memory usage #107

Closed
Amoki opened this issue May 22, 2023 · 1 comment
Closed

xktv10 high memory usage #107

Amoki opened this issue May 22, 2023 · 1 comment

Comments

@Amoki
Copy link
Contributor

Amoki commented May 22, 2023

When converting gltf to xkt, the attached file takes ~2GB of memory with xkt v6 but crashes with JavaScript heap out of memory and more than 4 GB of memory with v10.

Is this expected?

I tried to allow more memory with NODE_OPTIONS=--max-old-space-size=8192, without success.

@Amoki
Copy link
Contributor Author

Amoki commented May 22, 2023

Using parseGLTFJSONIntoXKTModel instead of parseGLTFIntoXKTModel works.
It is enough for us if its supports textures.

@Amoki Amoki closed this as completed May 22, 2023
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