Flushmem

BlitzMax Forums/BlitzMax Beginners Area/Flushmem

Hi, I'm reading a lot about memory leaks and the command Flushmem - however when I build a program with the command flushmem in it, it reportts 'identifier flushmem not found'.

I know I must be doing something stupid......
thanks

Flushmem was taken out at 1.12
Release notes

Its safe to remove all calls to that command from your source code now :)

So...its not required anymore? Cant see any mention of it in the release notes the link points me to (those are 1.14 notes).

Yep, sorry I thought it was the full releasenotes which are in the download.
Check your BlitzMax install dir for ReleaseNotes.doc

* FlushMem has GONE! 'Garbage collection' (GC) is now automatic by default. Use GCSetMode to enable/disable automatic GC. To perform a manual GC, use GCCollect.



Ok thanks