the d2Array enables me to have large fast grids of double precision floats and refer to it conveniently as
myArray[x][y]
Most of the time this works fine but when I tried to dimension a grid of doubles with
number of x = 13393
number of y = 5951
it falls over with "Out of memory" error. Now I would expect this to happen as the array size approaches 2GB but this array size appears to be a "mere" 617MB
I have 4GB (3.2GB usable) of memory on my PC and it wasn't anywhere near all used up. It fell over about 2/3 of the way through dimensioning.