On 8/28/2013 11:53 PM, Marek Janukowicz wrote:
How can I decrease DMD memory usage? My program does now use about 3.5GB
during compilation, which is horrible, as even machines with 4GB RAM
sometimes fail to compile successfully :(

1. Switch to separately compiling each module, rather than lumping them all on one command line to dmd.

2. Use the 64 bit dmd build. That won't use less memory, but it handles more memory better, if that makes sense.

Reply via email to