Why does this simple test program leak 500MB of RAM?

Steven Schveighoffer schveiguy at gmail.com
Sun Jul 2 20:34:57 UTC 2023


On 7/1/23 5:24 AM, FeepingCreature wrote:

> edit: Heh. The precise GC manages to collect *less* garbage in the test 
> above, leaving the program standing at 670M residential.
> 
> Explain that one. :P

Probably a coincidental adjustment in gc bookkeeping allocations.

If I had a nickel every time someone posted a "why does the GC behave 
this way!" message, I'd have like probably $2-3.

-Steve


More information about the Digitalmars-d mailing list