[dmd-internals] Memory Leak

David Nadlinger code at klickverbot.at
Sun Nov 11 13:51:01 PST 2012


On 11 Nov 2012, at 20:58, deadal nix wrote:
> Compiling the program I'm working on, dmd require more than 2Gb of 
> memory.
> Looking at the memory consumption, it doesn't look like anything is 
> freed.

Yes, unfortunately this is currently the expected behavior. The GC was 
enabled briefly some time ago, but has since been disabled again as the 
incurred slowdown was perceived to be too high. In the long run, we 
definitely need to do something about this.

David


More information about the dmd-internals mailing list