Browser Memory Leak Questions

Use the Chrome browser
If you repeatedly draw and erase the scene,
After a certain amount of time, the browser may go down due to a memory leak issue.

Is there any way to stabilize this phenomenon?

What do you mean by “erase the scene”? You should dispose all resources when you no longer need them.