Hi all,
I'm writing a project which need a large amount of memory allocation.
The code I use to allocate memory is:

void* pMem = new char[1000*1024*1024]

The memory allocation fail and the return value of new is NULL.
The maximum size of memory that I managed to allocate is 700MB.
The computer I working on has 2GB memory.
I also wrote a small program to check the problem and the same allocation succeeded.

Do you have any idea,suggestion why this is happening?
Thanks for your help

Alon