Decrease DMD memory usage
Walter Bright
newshound2 at digitalmars.com
Thu Aug 29 00:21:39 PDT 2013
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.
More information about the Digitalmars-d
mailing list