13 lines
206 B
C
13 lines
206 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
|
|
int main()
|
|
{
|
|
int size = 80 * 1024 * 1024;
|
|
int *a = NULL;
|
|
a = (int *)malloc(size);
|
|
memset(a, 1, size);
|
|
free(a);
|
|
return 0;
|
|
} |