You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version: v0.26.1 Browser: Brave (also tried on Edge) Bug: Taken RAM keeps piling up which forces me to close and open a new tab every few reloads.
This problem can also be observed on https://enable3d.io/ . Just open the browser task manager and reload the page. +200mb will pile up on every reload.
2025-10-13.12-19-07.mp4
I've tried adding a destroy event listener and do stuff like:
onSceneDestroy(){while(this.third.scene.children.length){this.third.scene.remove(this.third.scene.children[0]);}this.disposeSceneResources(this.third.scene);}disposeSceneResources(scene){scene.traverse((object)=>{console.log(object.name);// Dispose geometryif(object.geometry){object.geometry.dispose();}// Dispose materials and associated texturesif(object.material){constmaterials=Array.isArray(object.material)
? object.material
: [object.material];materials.forEach((material)=>{// Dispose texturesfor(constkeyinmaterial){if(material[key]&&material[key].isTexture){material[key].dispose();}}// Dispose material itselfmaterial.dispose();});}if(object.texture){object.texture.dispose();}});}
Version: v0.26.1
Browser: Brave (also tried on Edge)
Bug: Taken RAM keeps piling up which forces me to close and open a new tab every few reloads.
This problem can also be observed on https://enable3d.io/ . Just open the browser task manager and reload the page. +200mb will pile up on every reload.
2025-10-13.12-19-07.mp4
I've tried adding a destroy event listener and do stuff like:
But the geometries & textures never go down :(
I'm using https://github.com/threlte/three-inspect to see the gemotries & textures count.