Is it possible to find the memory size of materials or textures in Javascript? I’m working on loading GLTF variants and there’s an issue where loading too many variants will cause the browser to run out of allocated memory. To counter this, I’m attempting to track the memory usage and dispose of materials/textures before the browser runs out of allocated memory.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How much GB of memory my renderer/scene is holding? | 14 | 8088 | January 5, 2022 | |
| Curiosity about glTF GPU memory footprint | 15 | 3606 | December 15, 2024 | |
| Memory calculation before loading the model | 6 | 1205 | September 14, 2022 | |
| Estimate KTX2 texture memory size | 2 | 624 | December 14, 2022 | |
| A lot of memory with GLTF | 28 | 6453 | December 8, 2020 |