Home
Products
Community
Manuals
Contact
Login or Signup

Garbage Collection

BlitzPlus Forums/BlitzPlus Programming/Garbage Collection

Space Fractal(Posted 1+ years ago) #1
I can see Blitz+ have some sort of "Garbage Collection", when I minimize a window.

Can I invoke that, when using a function?


Space Fractal(Posted 1+ years ago) #2
sorry, but it should be a same for both Blitz 3D and for Blitz+? Can somebody move the thread over?


jfk EO-11110(Posted 1+ years ago) #3
In Blitz3D a garbage collection is done automaticly. Although as far as I know it won't be affected by minimizing a window, but rather by deleting content such as images, textures, types, meshes, fonts, movies etc.

Additionally Blitz optimizes content usage automaticly, EG. when there are two identical textures with the same flags, Blitz will use instances of the first one loaded.


Grey Alien(Posted 1+ years ago) #4
Blitz PLus frees stuff on exit but not as your app is running. I free all my stuff manuall jsut to be sure. All types have a typeDestroy function that frees images and sounds.


Space Fractal(Posted 1+ years ago) #5
Here it have effected this, when I minimizing the window (the ram usages was changed from about 42mb to 1.5mb). Because this application I have is not a game, but a application, it would been fine to doing it myself (like that one I did with Java).