Hello,
I need to construct an array containing 2^27=134217728 doubles, which should be about 1g (8*(2^27)=1.073.741.824 bytes), which should be possible on a Win32 machine with 2g of RAM. However my program crashed when the array is initialized, e.g.:
Does it have anything to do with the stack size?Code:unsigned int n = 27; unsigned int nc = 1 << n; static double p[ nc ] = {0.0};
Can you help?
SK