How do I generate an 'Out of Memory' exception for testing purposes in c++?
I tried real big arrays but the compiler came up with this:
"total size of array must not exceed 0x7fffffff bytes"
So i tried the maximum limit allowed by the compiler and still no exception generated...