Memory leak :/

BlitzMax Forums/BlitzMax Beginners Area/Memory leak :/

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

No caveats, no restrictions, no weird usage rules ... discard all unused memory.
And it does. The restriction (that it must be called from the 'root' scope of a program) is not one imposed by design (at least not intentionally), but is probably a side-effect of not having a 'proper' garbage collector, but instead relying on reference counts.

Why in the world would you only want to discard unused memory from certain parts of your program but not from others?
I don't know. I'm assuming for the same reason people will want to do other similar chores (Flip, Cls etc.)?

The only problem I've encountered with it is that it doesn't handle cyclic references very elegantly (or rather not at all).

Selective quoting? The technical term is memory. People assemilate information, and said information becomes less coherent over the course of time.
Then perhaps people with piss poor memories shouldn't post their incoherent information as fact?

Feel free to stop trolling and throwing about thinly veiled insults around. If you have a problem with me Antony, just say it.