I ran into a segmentation fault when I declare big arrays such as
double array[128][10240];
this occupies only 10MB of memory (I have 320 MB of RAM). What is the problem? Thanks for help.
I can use malloc to allocate 10MB of space for this (using pointers), however I doubt it would be in a large block of continuous memory.