what is going on here?

forkit forkit at gmail.com
Tue Jan 4 22:53:50 UTC 2022


strange things happen when I compile (on windows) the code below 
with:

dmd -m64
(compilation just crashes - no error message at all)

or

ldc2 -m64
(compilation works, but memory usage during compilation goes 
completely wild! upto 22GB, then down to 7GB, then finally 
completes.)


// ----

module test;
void main(){ static char[2147483646] arr; }

// ----



More information about the Digitalmars-d-learn mailing list