Often, people using Blitzmax will get a bit unsure if they're doing the null thing right. Sometimes you'll think "how do I know if it's REALLY deleted?"
Or perhaps you don't think flushmem is in the right place, or being used out of scope?
Regardless of your reasons, when developing your game, the golden tip is to put
Right there in your render code. I hear a chorus of "oh yeah I knew that..." but I doubt you practise it.
It's invaluable, and you can watch it while you're doing very many things. Often you might wonder why it's slowing down. Watching the memory count rise incredibly fast is a clue! Regardless, this is my top tip number one!
Or perhaps you don't think flushmem is in the right place, or being used out of scope?
Regardless of your reasons, when developing your game, the golden tip is to put
Drawtext "memory: "+memalloced() , 0 , 0
Right there in your render code. I hear a chorus of "oh yeah I knew that..." but I doubt you practise it.
It's invaluable, and you can watch it while you're doing very many things. Often you might wonder why it's slowing down. Watching the memory count rise incredibly fast is a clue! Regardless, this is my top tip number one!