Error: out of memory

StarGrazer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Mar 18 13:39:20 PDT 2017


I have some CTFE's and meta programming that cause dmd to run out 
of memory ;/

I am generating simple classes, but a lot of them. dmd uses about 
2GB before it quites. It also only uses about 12% of cpu.

I have 16 GB total memory and about that free. Surely dmd could 
do a better job? Any way to get it to do such a thing like set 
the maximum amount of memory it can use?


More information about the Digitalmars-d-learn mailing list