[dmd-beta] dmd 1.071 and 2.056 beta

Rainer Schuetze r.sagitario at gmx.de
Sun Oct 23 14:20:21 PDT 2011


On 23.10.2011 21:42, Walter Bright wrote:
>
>
> On 10/23/2011 12:02 PM, Don Clugston wrote:
>>
>> The increase in compile time, on Windows at least, is also a serious
>> problem. Even "Hello World" takes about twice as long to compile,
>> presumably because of the new compiler memory management. This might
>> be tolerable if memory usage bugs like bug 1382 were fixed, but 1382
>> still fails. So it just seems to be a completely backwards step. So I
>> really think the new memory management should be disabled until the
>> effect of compilation is less drastic.
>>
>
> I agree. I'll yank it.

I always wonder why dmd runs out of memory at about 1GB. My guess is 
that it calls VirtualAlloc on smaller blocks than the allocation 
granularity (64kB).

A one-bit fix to get more memory for the win32 process is to set the 
LARGE_ADDRESS_AWARE bit in the file header of dmd.exe.

> _______________________________________________
> dmd-beta mailing list
> dmd-beta at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-beta
>



More information about the dmd-beta mailing list