Compilation freezes computer

Jacob Carlborg doob at me.com
Fri Dec 11 19:33:36 UTC 2020


On 2020-12-11 09:34, Andrey wrote:

> When I try to build it on Windows 10, LDC begins to eat a lot of memory 
> (load ~ 95 - 100%) and after some time Windows freezes - hard reboot is 
> needed to reset.
> 
> On run.dlang.io I get "server error".
> 
> My LDC: 1.24.0-beta1 (DMD v2.094.0, LLVM 11.0.0)

I can reproduce this with DMD 2.094.0 on macOS as well. Seems to be a 
frontend issue. Some infinite recursion. You're probably running out of 
memory. For me the process is killed after consuming over 22 GB out of 
my 16 GB :). I've reported the issue here [1].

[1] https://issues.dlang.org/show_bug.cgi?id=21473

-- 
/Jacob Carlborg


More information about the digitalmars-d-ldc mailing list