[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:26:29 UTC 2020


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

--- Comment #2 from JR <zorael at gmail.com> ---
(In reply to moonlightsentinel from comment #1)
> That linker parameter was already present in win32.mak, the PR just moved it
> to build.d. That bisection seems like a false positive.
> 
> An OutOfMemoryError usually signals a failure when allocating <dynamic
> memory> - not stack memory. Did you try to compile your project using
> -lowmem (which enables the GC for DMD)?

I see. Is there a point in retrying the bisection?

-lowmem works and I want to use it, but it doesn't work with dub, which I rely
on for dependencies.
https://forum.dlang.org/post/ycfikiktizuifuisxdgg@forum.dlang.org seems
promising but it's still some time before it will be in a downloadable release.

--


More information about the Digitalmars-d-bugs mailing list