You receive the same stack overflow error with this simpler code:
void main() {
double[200][1000] a;
}
Keep in mind this is a fixed-sized array, so it's allocated on the stack.
On Windows with DMD if you add a switch like this, to increase max stack size,
that code works:
-L/STACK:10000000
Bye,
bearophile