[Issue 19947] OutOfMemoryError with GC-allocs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 21 08:16:14 UTC 2019


--- Comment #6 from Gregor Mückl <gregormueckl at gmx.de> ---
(In reply to Rainer Schuetze from comment #5)
> To avoid false pointers in the heap and the data segment, use
> --DRT-gcopt=gc:precise --DRT-scanDataSeg=precise
> With these the program runs to completion.

How does this square with the fact that calling GC.collect() inside the for
loop also makes the program run to completion? Also, the array is initialized
with 0, so any false false pointers would be invisible to the user code.


More information about the Digitalmars-d-bugs mailing list