An object is made available for collecting when the last remaining pointer to it goes out of scope or is nulled.
I believe there is some 'objects to release' count which dictates when GC is run 500?) so, in your code, GC will not run.
Print creates an object internally so always makes things look odd.
Try the same code bu use a large counter or a while/wend loop and you should see the GC numbers cycling.
I believe there is some 'objects to release' count which dictates when GC is run 500?) so, in your code, GC will not run.
Print creates an object internally so always makes things look odd.
Try the same code bu use a large counter or a while/wend loop and you should see the GC numbers cycling.