Safari memory leak when webgl scene dipose and rebuid serval times

I have created a scene using THREEJS that loads GLTF files and image-format tile maps. When I repeatedly destroy and rebuild the scene, I notice that the memory keeps increasing in the Safari browser, but the same code performs normally in the Chrome browser. I have ensured that I properly dispose of all relevant resources when destroying the scene.

THREEJS Version: r138

Google Chrome Version: 119.0.6045.200

Safari Version: 17.0(19616.1.27.211.1)

Is there anyone who can give me some advice? Thanks!!!

Thank you for the report. If you belive it is a Safari issue, best approach would be to file a feedback report, see https://developer.apple.com/bug-reporting/. A runnable example that demonstrates the issue would be the most helpful.

Safari memory leak when webgl scene dipose and rebuid serval times
 
 
Q