If I use

Global VarCol(144000,450) as double, I will get no out of memory in VB6 Windows 10

But if I use Global VarCol(144000,500) as double, the out of memory pops up. It's only a array of 144001 x 501 x double = 577 MB and I have 32GB of memory, so I don't understand that there isn't room enough for this array.

I understood I could use arrays up to 2Gb.


Thanks in advance