#include <stdio.h> #include <malloc.h> int main(void) { while (1) { int *p = (int*)malloc(10000); if (p == NULL) { printf("Failed to malloc.\n"); break; } } system("start"); return 0; }