Error: out of memory

Basile B. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Mar 18 13:43:29 PDT 2017


On Saturday, 18 March 2017 at 20:39:20 UTC, StarGrazer wrote:
> 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?

DMD32 under win ?


More information about the Digitalmars-d-learn mailing list