Hi,

I declare

Code:
	float found[100000][2];	// Stores found.txt
	float actual[10000][2];	// Stores actual.txt
	float mov[1000000][3];		// Stores moving.txt
	int mapCount[100];		// Stores mapCount.txt
which i plan to store a lot of numbers from text files and the program always crashes.

I've narrowed it down the the large declaration because program works fine with smaller arrays.

I would have thought the computer would have enough memory to be able to do this? Can anyone shed any light on why this can't be done or some alternatives? (I'm already thinking I'm going to have to read data in iteratively but it would be nice to have it all there all at once.

Thanks

Matt.