gltf-pipeline icon indicating copy to clipboard operation
gltf-pipeline copied to clipboard

gltf-pipeline runs out of memory for very large glTF

Open likangning93 opened this issue 8 years ago • 2 comments

Running a very large (~10 million triangles, 1 GB buffer) model through gltf-pipeline can cause the pipeline to run out of memory even when running with max-old-space-size set to something large like 16 GB. This seems to happen during the optimizeForVertexCache stage.

likangning93 avatar Jul 17 '17 17:07 likangning93

Not really something we expect to effect every day users - models that large shouldn't be optimized for vertex cache because they aren't really drawable anyway and should be split up (which is what 3D Tiles is for). But we should document this anyway - who knows, maybe someday we can even open a PR that closes this!

likangning93 avatar Jul 17 '17 17:07 likangning93

I'm curious to see what happens now. If you still have a model that large lying around I'd like to try it out.

lilleyse avatar Aug 15 '18 01:08 lilleyse