I still say that max's memory mangement is insane.

BlitzMax Forums/BlitzMax Programming/I still say that max's memory mangement is insane.

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.

I was going to jump into thread and say, OMG sswift, why do you have to make everything so complicated, but then i realized I've had this problem myself. Or something similar.

Chains of memory left stranded. I had children and parents pointing at each other. If you cut the parent lose without unlinking the child they will stay in memory forever. I had to implement a destroy method for many of my objects.

There is some sample code of this happening in this old thread about a Delete method. Mark jumps in at the end.
http://www.blitzbasic.com/Community/posts.php?topic=50880#567962