Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 1a4a792ec3
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (16 sloc) 0.273 kB
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#define INNER (10000)
#define LOOPS (1*1000*1000)
int main()
{
int i;
sleep(1);
for (i = 0; i < LOOPS; i++) {
char *a = malloc(INNER);
memset(a, 0, INNER);
free(a);
}
return 0;
}
Jump to Line
Something went wrong with that request. Please try again.