Flushmem

BlitzMax Forums/BlitzMax Beginners Area/Flushmem

Ant(Posted 2005) [#1]
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


tonyg(Posted 2005) [#2]
Flushmem was taken out at 1.12
Release notes


Shagwana(Posted 2005) [#3]
Its safe to remove all calls to that command from your source code now :)


Ant(Posted 2005) [#4]
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).


tonyg(Posted 2005) [#5]
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.




Ant(Posted 2005) [#6]
Ok thanks