https://issues.dlang.org/show_bug.cgi?id=13801
Rainer Schuetze <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #5 from Rainer Schuetze <[email protected]> --- AFAIK the heap on OSX starts 0x 0x1_0000_0000, so your "b" members create false pointers into the memory chunks into the arrays allocated in the while(true) loop. That's why they are never collected. You might want to try one of the proposed precise GCs: https://github.com/D-Programming-Language/druntime/pull/1022 or https://github.com/D-Programming-Language/druntime/pull/1057 --
