Garbage Collector and compressed images

Archives Forums/BlitzMax Bug Reports/Garbage Collector and compressed images

ima747(Posted 2010) [#1]
Detailed in http://www.blitzbasic.com/Community/posts.php?topic=91435#1040388

Basically if you load and release compressed images (jpeg/png) the collector doesn't clean everything up unless you manually call it, allowing the memory to build until the system can crash. It seems to be related to the size of the images, as a small image may only build to 50mb and eventually collect, but larger images can build until all available resources are consumed and then crash.

It seems as though the auto collect is not firing when it should due to (a guess here based on playing with it a bit) miss calculating it's target maximum when it should reset.