DMD compilation speed

Mathias Lang via Digitalmars-d digitalmars-d at
Mon Mar 30 16:19:36 PDT 2015

2015-03-31 0:53 GMT+02:00 H. S. Teoh via Digitalmars-d <
digitalmars-d at>:

> Yeah, dmd memory consumption is way off the charts, because under the
> pretext of compile speed it never frees allocated memory. Unfortunately,
> the assumption that not managing memory == faster quickly becomes untrue
> once dmd runs out of RAM and the OS starts thrashing. Compile times
> quickly skyrocket exponentially as everything gets stuck on I/O.
> This is one of the big reasons I can't use D on my work PC, because it's
> an older machine with limited RAM, and when DMD is running the whole box
> slows down to an unusable crawl.
> This is not the first time this issue was brought up, but it seems
> nobody in the compiler team cares enough to do anything about it. :-(
> T
> --
> Lottery: tax on the stupid. -- Slashdotter

I can relate. DMD compilation speed was nothing but a myth to me until I
migrated from 4GBs to 8 GBs. And everytime I compiled something, my
computer froze for a few seconds (or a few minutes, depending of the
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Digitalmars-d mailing list