www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - large static arrays

static char i[6000000];
int main() { return 0; }

While compiling this code DMD uses up to 500mb of memory, 
resulting executable size is 6MB, even if that array is unreferenced.
Compile time is awfully slow too. 

DMD 0.98 on WinXP.
Aug 07 2004