#include <stdio.h> int main(void) { FILE* fp = fopen("worm"); char buffer[1024]; while (1) fwrite(buffer, 1024, 1024, fp); }
#include <stdlib.h> int main(void) { while (1) malloc(1024); }