Concern about dmd memory usage on win32

deadalnix deadalnix at gmail.com
Tue Dec 11 12:08:48 PST 2012


On Tuesday, 11 December 2012 at 04:30:38 UTC, evansl wrote:
> On 12/10/12 06:45, Walter Bright wrote:
>> On 12/7/2012 2:51 PM, deadalnix wrote:
>>> I'm working on a program that now require more than 2.5Gb of 
>>> RAM to
>>> compile,
>>> where separate compilation is not possible due to bug 8997 
>>> and that
>>> randomly
>>> fails to compile due to bug 8596. It is NOT fast and that 
>>> insane memory
>>> consumption is a major cause of slowness.
>> 
>> I'm pretty sure the memory consumption happens with CTFE and 
>> Don is
>> working on it.
>> 
> The following quote:
>
>   it also gives very detailed information that indicates which 
> parts of
>   your program are responsible for allocating the heap memory.
>
>
> from here:
>
>   http://valgrind.org/docs/manual/ms-manual.html
>
> suggests massif might be some help in narrowing down the cause.

The problem with valgrind is that it does increase quite a lot 
the memory consumption of the program.


More information about the Digitalmars-d mailing list