Garbage CollectionBlitzPlus Forums/BlitzPlus Programming/Garbage Collection
| I can see Blitz+ have some sort of "Garbage Collection", when I minimize a window. |
Can I invoke that, when using a function?
| sorry, but it should be a same for both Blitz 3D and for Blitz+? Can somebody move the thread over? |
| 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.
| 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. |
| 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). |