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 | |
---|---|---|---|---|
Renderer memory texture dispose problems | 0 | 379 | January 26, 2023 | |
Understanding relationship with texture.dispose() and WebGLRenderer.info.textures | 2 | 1234 | May 11, 2023 | |
GLTF model memory usage | 11 | 1904 | September 30, 2022 | |
Memory calculation before loading the model | 6 | 1100 | September 14, 2022 | |
Apply texture into material surface | 0 | 359 | January 25, 2022 |