#include #include // For the sleep() function int main() { char* s; for (int i = 0; i < 15; ++i) { s = new char[1024*1024]; // Allocate 1Mb on the heap sleep(1); // Do nothing for 1 second } }