Dear all:
I am running some experiments on a multi-processor, 8G RAM dell
machine. according to Microsoft, a single process should be able to
access up to 2GB RAM(or 3GB when /3GB switch is on). However, my
process always dies after running for a while. Sometimes the image is
a little over 1GB and sometimes around 700MB. I am pretty sure it's
not a program error since the exception comes from the stl vector
itself and it does not always happen. It was unable to allocate extra
memory space when I tried to push 32 million nodes back into the
vector. From task manager, the peak total usage by all processes was
about 6GB at that point. Does it mean that resources are exhausted by
other processes even it has not come close to 8GB yet?
|