I am able to successfully run the code:
char* p = new char[34493878088];
cout << "Success at " << 34493878088 << " bytes" << endl;
delete[] p;
which as I understand allocates a 34 gigabyte char array. However, my computer only has 16 gigabytes of ram and my pagefile is only 3 gigabytes so how is this possible?