Error: out of memory

H. S. Teoh hsteoh at quickfur.ath.cx
Wed Jan 10 19:40:16 UTC 2018


On Wed, Jan 10, 2018 at 07:21:21PM +0000, Adam D. Ruppe via Digitalmars-d-learn wrote:
[...]
> (and ugh dmd REALLY needs to get its memory consumption under control!
> maybe just enabling the GC would help sometimes.)

Yeah, no kidding!  Recently I also ran into trouble with dmd's memory
consumption competing with Firefox, another big, fat memory hog.  I had
to kill the Firefox process just so I have enough free RAM for dmd not
to bail out in the middle of compilation.

While the latest D motto seems to be fast, fast, and faster, fast does
you no good if you can't even finish compilation in the first place.  We
need to have an option to turn on the GC and/or otherwise push dmd
toward the memory end of the speed/memory tradeoff, instead of being
stuck up fast creek without a memory paddle.


T

-- 
Tell me and I forget. Teach me and I remember. Involve me and I understand. -- Benjamin Franklin


More information about the Digitalmars-d-learn mailing list