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
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta