I need to define two very large 2 dimensional arrays. The following statement compiles fine, but it seems to kill my system when it is run.

short retr[256][512],appr[256][512];

I've compiled and run successfully on both nt and osx when the statement is as follows:

short retr[100][512],appr[100][512];

My best guess is that I have overloaded my memory. How do I get around this problem and/or allocate more memory at runtime? Thanks,

nn3a




Note: Compiler is codewarrior for osx and windows.