About compiler memory consumption

Dicebot public at dicebot.lv
Wed Dec 4 09:54:09 PST 2013


On Wednesday, 4 December 2013 at 17:46:40 UTC, H. S. Teoh wrote:
> Even without vibe.d, dmd eats way too much memory to be usable 
> on a
> machine with 512MB RAM. I was quite disappointed to discover 
> this when I
> tried running dmd on a not-that-old machine with 512MB RAM (aka 
> my
> office PC), and every time it would soak up all available RAM, 
> force my
> browser (and probably significant parts of X11) to swap out, 
> making the
> PC generally unresponsive for several seconds, before the dmd 
> process
> exits and everything goes back to normal.

Heh, that was reason why I was forced to reconsider from setting 
up a CI suite on my 1Gb-worth VPS :) There are some live projects 
that require 2.5-3 Gb for routine build.


More information about the Digitalmars-d-learn mailing list