oom
Running out of memory. What needs to change to avoid this?
9
 
1
#include <iostream>
2
using namespace std;
3
4
int main() {
5
   for (int i=0; i<1000000; i++) {
6
      int* p = new int;
7
      ;
8
   }
9
}