Threejs unexplained crash "Out of Memory"

If you are dynamically adding objects to your webgl environment, you also need to dynamically clear objects loaded in to memory that are no longer required, this is generally known as “garbage collection” in webgl and reffered to as dispose() in threejs there are many topics on here covering the disposal of no longer needed textures and geometries

2 Likes