[Issue 20562] [dmd] Memory allocation failed (ERROR: This is a compiler bug)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 5 10:48:54 UTC 2020


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

--- Comment #3 from moonlightsentinel at disroot.org ---
> I see. Is there a point in retrying the bisection?

Maybe if you could exactly identify a change that increased the memory
consumption *a lot*. Then we could try to improve that specific segement to use
less memory. But I would expect it to be a more gradual increase scattered over
many small changes.

> -lowmem works and I want to use it, but it doesn't work with dub, which I rely on for dependencies

Not a dub expert but you could add -lowmem using the dflags configuration in
dub.(json|sdl) IIRC.

--


More information about the Digitalmars-d-bugs mailing list