[Gc] Collecting large memory blocks

Christian Gudrian christian at gudrian.org
Wed Dec 2 09:01:50 PST 2009

Am 02.12.2009, 16:01 Uhr, schrieb Ivan Maidanski <ivmai at mail.ru>:

> The test work correctly: it prints something near 1.5 MiB. Does this  
> test runs ok on your side?

Yes.  The heap sizes stays below 2 MiB.

However, if I execute that loop in a Windows application (using Borland's  
VCL), the heap size goes up to more than 30 MiB.

Without ALL_INTERIOR_POINTERS it stays below 10 MiB.

How come the collector haves differently depending on the application type  


More information about the Gc mailing list