[Issue 19745] Incredible memory consumption for function with huge body
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Mar 21 07:55:44 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19745
--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Puneet Goel from comment #2)
> With the static foreach, it seems it is the static foreach unrolling which
> takes a lot of memory.
>
> On the other hand, if you create physical code with a large function, the
> compiler does not go OOM, but seems to take forever. On my i7 linux box I
> kill the compilation process after it failed to produce object file even
> after 2 hours compiler.
>
> I have attached test.d.xz
What you are describing I think is covered by this bug.
https://issues.dlang.org/show_bug.cgi?id=6401
--
More information about the Digitalmars-d-bugs
mailing list