Error: out of memory

Stefan Koch via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Mar 19 16:10:56 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?

Can you submit this code for analysis ?


More information about the Digitalmars-d-learn mailing list