Hi,
I try to allocate memory simply by using the new operator:
void* pMem = new unsigned char[1000*1024*1024]
Notice that I'm trying to allocate 1000 MB in a computer with 2 GB
memory.
The allocation fail and the return value is NULL.
The same allocation succeeded when I doing it from a small test
program I wrote(and not as a part of my original project).
I managed to allocate 700MB.
Do you have any idea what could cause such a behaviour?
Please help
Alon