Compiling to 64bit with: `dmd -m64 -run test.d` works no problem
Re: "Memory allocation failed" on big array
ryuukk_ via Digitalmars-d-learn Wed, 20 Jul 2022 09:31:25 -0700
My guess is you are compiling to 32bit and the GC tries to
reserve >4gb wich it can't, therefore out of memory
- "Memory allocation failed" on ... urned utt via Digitalmars-d-learn
- Re: "Memory allocation failed&... ryuukk_ via Digitalmars-d-learn
- Re: "Memory allocation fai... urned utt via Digitalmars-d-learn