Is there a tool for detecting Memory Leak?

Godot Version

4.3

Question

I recalled some SDK in some platforms have a tool for detecting memory leaks in debug builds, and it can report you when you run the app in debug mode. In Godot, is there something equivalent?

Godot has built-in profiler tools, and you can also monitor how much resources your game uses. You don’t necessarily need a tool for it, just pay attention to your memory usage. The backend is generally intelligent enough with it’s garbage collection, and if you made a mistake, it should be quite obvious when you run the game for a while and monitor it’s memory usage.

1 Like

I would like to also put an extra help here.

In the Project Setting > Debug > Settings, in the stdout section, you could also turn on Verbose stdout. With this setting on, all the leaked instances, etc. will be reported in the console.