I have MFC vc++ app written with VS2010. When I try to allocate double array of size '185000000' using
- malloc : it returns NULL
- new operator : it throws CMemoryException
But when I write standalone win32 console application in c++ like this:
double *ptr = NULL;
ptr = new double[185000000];
it works fine and ProcessExplorer app shows ~1411MB of memory allcoated.
My MFC app has GUI and lots of libraries added to work with Agilent meter and NI-6255 meter voltage measurement.