#include<stdio.h>
#include<stdlib.h>
#define SZ 1024*1024*1024

int main() {
    // 5. Large allocations without free
    for(int ctr=0; ctr<100; ctr++) {
        int* x = (int*) malloc(SZ*sizeof(int));
				for(int i = 0; i < SZ; i ++)
					x[i] = 3;
        printf("Allocated %d GB memory\n", ctr);
    }
}
