Recently, I switched to a new laptop - HP dv6119tx (Intel Core i5, 4 GB RAM). It has the 64-bit version of Windows 7 Home Premium installed.
I'm trying to create an array of type int10 ^ 6 long in C ++ (Dev C ++), which I used to comfortably create on my last laptop (32-bit Windows 7 Ultimate / Ubuntu Linux, 2 GB of RAM) and every other environment which I programmed for (it should occupy about 3.5 MB of RAM). But with the current setting, I get the error "Segmentation Error" in debug mode.


(EDIT):
10 ^ 5, 10 ^ 6 . 10 ^ 6, , .
EDIT:
,
int* a = new int[MAX];
, , - , 3,5 ( 2 ), 4 ? ? ?
2:
, SPOJ 10 ^ 6, . , . , , ; , .