#include #include int main(){ unsigned long i=2; char *mem = (char*)malloc(1024*1024*1424); // 1 gig if(mem) while(1){ mem[i] = rand(); i+=4096; i = i%(1024*1024*1024); } return 0; }