Re: Windows array allocation problem



Roy Lewallen wrote:
(snip)

The program won't attempt to allocate near the 2 GB limit unless the machine has a very large amount of RAM, to avoid swapping into and out of system virtual memory. Not too many users have that much, but no problem had been encountered until recently with the present method of determining how much could be allocated. I now see why the problem has just shown up -- I changed from the Compaq compiler to the Intel compiler not long ago. The test shows that even for the simplest program, the Intel compiler doesn't allow allocating as much of the application virtual memory as the Compaq compiler does, at least not to one large array.

The price difference for 64 bit systems is small enough now that
I would say that anyone that close to 2GB should switch.

For a program you are distributing to others, it seems reasonable
for those users to switch if that last 300MB means that much.

-- glen

.