gltf-rs / gltf

A crate for loading glTF 2.0
Apache License 2.0
534 stars 124 forks source link

Memory usage regression 1.4.0 --> 1.4.1 #437

Open HugoPeters1024 opened 1 month ago

HugoPeters1024 commented 1 month ago

Using version 1.4.0 in my custom raytracer engine, I'm able to load https://developer.nvidia.com/orca/amazon-lumberyard-bistro into memory for pre-processing and uploading to the gpu with a peak memory usage of 90% of my system RAM. However, when upgrading to 1.4.1 my engine consistently crashes because it runs out of RAM, indicating a regression in memory usage between these two versions.

Note that I tested upgrading the version in isolation and it required no further code changes.

I'm not quite sure what other useful information I could give but I'm happy to answer any questions.