Memory Usage

Blitz3D Forums/Blitz3D Beginners Area/Memory Usage

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.

If you have types within types like so ..

Type Player
field w.weapontype
field otherstuff
end type

Then deleting a player type will not delete the weapontype so it will still linger in memory. You need to first delete the weapon type then the player type.

Note that there was an issue with how blitz handled the deleting of types / cleaning up memory prior to version 1.87 I think. I remember reading that Sean Swift tested this a while back.