Concern about dmd memory usage on win32

evansl cppljevans at suddenlink.net
Mon Dec 10 20:30:34 PST 2012


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.




More information about the Digitalmars-d mailing list