Memory usage of dmd

Xavier Bigand via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 10 09:02:15 PST 2014


Le 10/11/2014 17:41, Etienne a écrit :
> On 2014-11-10 11:32 AM, Xavier Bigand wrote:
>>
>> Is there some options can help me to reduce the memory consumption? As
>> it's for production purpose I don't think that is a good idea to remove
>> compiler optimizations.
>
> The memory issues are probably related to diet templates.

Yes I think it too.

>
> LDC and GDC won't help. You should definitely work and build on a
> machine with 4GB of ram. The server application could use as low as 8mb
> of ram, but compiling requires a workstation.
>
> Perhaps renting an amazon instance a few minutes for compilation would
> be a better idea?

I already have a computer with a linux to build it, so amazon won't 
improve situation.
As I know to be able to have no down time with vibe we need to be able 
to build directly on the server where the program runs.

Maybe I just need to wait that I have some users to pay a better server 
with more memory.


More information about the Digitalmars-d-learn mailing list