In a certain function i have a line
Expand|Select|Wrap|Line Numbers
- m_pBuffer = new double[512*512*736]; //~1.5GB
WinXP SP3 32-bit, same thing happens with VS2005 and VS2008.
I have tried setting "Support Addresses Larger Than 2 Gigabytes (/LARGEADDRESSAWARE)". It has no effect.
If I use /HEAP:reserve, and set the size to 1.5GB or more, then other allocation (368MB), which comes before this big one, fails.
Do you have some ideas what is causing this, and perhaps suggestions how to overcome this problem?
How much effect would have to try this on 64-bit machine?
Dženan