Hello everybody.
I am using visual studio 2008 for developing. My program needs to deal with a huge amount of memory. The error happens when my program try to allocate a 512M float array. Code is the following:
int size = 512*512*512;
float *buffer = new float[size];
Before this allocation, the program already consumed around 554M memory. My desktop has 4G main memory and I am using windows xp 32bits.
How can I avoid the allocation error? Thanks very much for your input!