[Issue 4236] 'out of memory' error compiling on windows

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 6 12:29:00 UTC 2023


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

Bastiaan Veelo <Bastiaan at Veelo.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Bastiaan at Veelo.net

--- Comment #2 from Bastiaan Veelo <Bastiaan at Veelo.net> ---
No, this is no longer an issue.

Tested with v2.099.1 on Windows 10.

dmd mkdata.d
mkdata.exe > data.d
dmd -c data.d

-------------- mkdata.d ----------------------------------------------
import std.stdio, std.conv;

void main()
{
    writeln("module data;\n");
    write("const ubyte[] blob = [0");
    foreach (i; 1 .. 8_000_000)
        write(", ", (i % ubyte.max).to!string);
    writeln("];\n");
}

--


More information about the Digitalmars-d-bugs mailing list