"Memory allocation failed" on big array

ryuukk_ ryuukk.dev at gmail.com
Wed Jul 20 16:26:56 UTC 2022


My guess is you are compiling to 32bit and the GC tries to 
reserve >4gb wich it can't, therefore out of memory

Compiling to 64bit with: `dmd -m64 -run test.d` works no problem






More information about the Digitalmars-d-learn mailing list