It looks like you tried to reserve space for 200,000 x 2 = 400,000double values, and each one doublewas 8 bytes, so you tried to reserve about 3.2 megabytes .
, , , Gigs of memory, 1 2 . , 3 , .
, , malloc.
, , -.
malloc:
double (*sample) [200000];
s = malloc(sizeof(*sample) * 2);
sample[0][0] = 0.0;
sample[1][199999] = 9.9;