Memory Leaks - How Can You Tell?

BlitzMax Forums/BlitzMax Beginners Area/Memory Leaks - How Can You Tell?

Forgive me for asking (I'm pretty new to Max) but does 'out of scope' mean creating an object inside a function, but not destroying it before exiting the function?

You can't destroy objects any more, so the second part of that question is somewhat redundant. But yes, if you create a new object and put it into a local variable, where the variable is local to a function, then the object will no longer be reachable when you exit the function and the GC will ( sooner or later ) collect it, and free your memory.