[Issue 19745] Incredible memory consumption for function with huge body

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 16 17:54:28 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19745

--- Comment #2 from Puneet Goel <puneet at coverify.org> ---
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

--


More information about the Digitalmars-d-bugs mailing list